Subscribe to ITTreats.com - JAVA /J2EE

Latest podcast – GlassFish Voices

The latest episode (#73) of the GlassFish Podcast is out. It’s a bit different from the other ones (mostly 1-1 interviews) since it has about 20+ participants. These are Oracle employees working on GlassFish briefly sharing who they are, what they did for the recent 3.1 release and what they’ll be up to for GlassFish [...]

Community documenting their GlassFish 3.1 experiences

Of course it’s great to see so many GlassFish 3.1 blogs written by the engineers themselves but it’s equally rewarding to read user blogs sharing their experience with the larger community. This time we have two fully documented blog entries on setting up a GlassFish cluster from Sven and using ActiveCache (Coherence\*Web) from Markus. Over [...]

More Java EE 7 progress – CDI 1.1 can start

Following last week’s results of the EJB 3.2 JSR Review Ballot we now have another result: CDI 1.1 has been accepted by the JCP Executive Committee with 10 YES votes and 1 non-vote (VMWare). This previous post has some context on the goals of CDI 1.1 and links to relevant URLs. You’ll note that IBM [...]

Grizzly 2.1 ships – AJP, WebSocket, LZMA and more

Over on his blog, Ryan Lubke announces the release of Grizzly 2.1 (né 2.0.x) with the typical set of bug and performance fixes but also some new features such as AJP support, Multipart Form Submission Processing and LZMA compression. This version also includes updated support for the WebSocket protocol (now on draft 06). This announcement [...]

Superduper Slow Jar Command

By Xueming Shen It’s well known that creating a Jar file can be a “little” slow. How slow? On my aged SunBlad1000, it takes about 1 minute and 40 seconds to jar the whole rt.jar in cf0M mode (no compress, no manifest) — and it costs you a little more if done in compress mode. [...]

Overhauling the Java UTF-8 charset

By Xueming Shen The UTF-8 charset implementation, which is available in all JDK/JRE releases from Sun, has been updated recently to reject non-shortest-form UTF-8 byte sequences. This is because the old implementation might be leveraged in security attacks. Since then I have been asked many times about what this “non-shortest-form” issue is and what the [...]

Closing a URLClassLoader

By Michael McMahon Complex Java programs, such as application servers, sometimes create their own class loaders using the URLClassLoader type. With URLClassLoader, applications can load classes and resources from a search path of URLs. The following URL types are supported: file: (loads from file-system directories) jar: (loads from JAR files) http: (loads from http servers) [...]

Making Progress With Swing’s Progress Monitoring API

by Jennie HallUpdated Jan. 23, 2009 In this tip, you’ll learn how to use Swing’s progress indicator support to monitor and report on the progress of long-running operations. It is a good practice to keep users informed as they interact with an application; one way to do this is with a progress bar. A progress [...]

Exchanging Data With XML and JAXB, Part 2

by Jennie Hall In Exchanging Data With XML and JAXB, Part 1, we saw how the Java Architecture for XML Binding (JAXB) expedites the exchange of data between systems. With JAXB 2.0′s annotation support, generating XML data for a business partner is as easy as annotating your existing object model.  In this tip, you’ll learn [...]