java.net: the Week in Review - May 22, 2010
JavaEE and Glassfish were in the spotlight on java.net in the past week. If you didn't get a chance to visit java.net on a daily basis in the past week, read on, and you'll find all of the week's Java Today news items, a selection of java.net blog posts, and the old and new java.net spotlights and polls.
This week's index:
- JavaEE, GlassFish (14 items)
- Tools, IDEs, etc. (5 items)
- Programming (4 items)
- JVM, JDK, JSRs (3 items)
- Mobile, JavaME (2 items)
- Conferences, JUG Meetings (4 items)
- Miscellaneous (3 items)
Eduardo Pelegri-Llopart looked ahead Towards GlassFish 3.1 - Best Thing since Sliced Bread:
A lot of progress on GlassFish Server Open Source Edition 3.1. If everything goes according to plan,
by the end of the year we will have a release that has all the benefits of 3.0 and of 2.1.1. From 3.0 it remains modular, embeddable and with JavaEE 6 and OSGi support. From 2.1 it adds clustering and HA. It will continue to be Open Source and will interoperate with key Oracle middleware components...
Eduardo was also Introducing the Oracle GlassFish Server Control:
I had missed the new name for the old Sun GlassFish Enterprise Manager - it is now called the Oracle GlassFish Server Control, and we have just published its Data Sheet. Also in the official Oracle documentation you can find the Data Sheet for Oracle GlassFish Server, as well as the System Requirements and the FAQ...
Alexis Moussine-Pouchkine announced GlassFish and add-ons now available for download from Oracle eDelivery:
As part of the move to the "Oracle way of doing things", GlassFish and its add-ons (the GlassFish Enterprise Manager, now rebranded as GlassFish Server Control) are now available from Oracle's onestop download site edelivery.oracle.com. Once you've logged in, follow this link (or click on the image) to get to the list of Sun downloads...
Eduardo Pelegri-Llopart highlighted the new SailFin CAFE Series at DZone:
Binod has started a series at DZone on
SailFin CAFE: * Fundamentals, Part I: CommunicationBeans and Agents *Fundamentals, Part II: Communications and UserProcedures, w/ example. SIP
is heating up but the programming of (SIP+HTTP) Converged Applications
remains too complicated...
On Artima Developer, Bill Venners talked about Seven Lessons on Scalability from Reddit:
At a talk at the Future of Web Apps this year, Steve Huffman, co-founder of Reddit.com, summarized seven lessons learned while building and growing the Reddit.com social link and discussion site. The video is here...
Arun Gupta presented TOTD #136: Default Error Page using Servlets 3.0 - Improved productivity using Java EE 6:
Servlets 2.x allowed to create a mapping between an HTTP error code or an exception type to the path of a resource in the Web application. This is achieved by specifying an "error-page" element in the "web.xml". The element definition looks like...
One of the new features introduced in Enterprise Java Beans 3.1 (JSR 318) is asynchronous invocation of a business method. This allows the control to return to the client before the container dispatches the instance to a bean. The asynchronous operations can return a "Future
" that allow the client to retrieve a result value, check for exceptions, or attempt to cancel any in-progress invocations...
It is just the first milestone but GlassFish Server Open Source Edition M1 already has
significant functionality, including Basic Clustering (creation/deleting/start-stop), infrastructure for Dynamic Reconfiguration, and Application Versioning. Application Versioning merits a special mention because it is a contribution from a new group from Serli...
This week's java.net poll asks What's the most important enhancement in GlassFish Server Open Source Edition M1?
Here is the second part of the CAFE fundamentals blog series. This time, I am explaining two important interfaces called Communication and UserProcedure with an example. If this is the first time you are hearing about SailFin CAFE, I recommend reading the CAFE fundamentals article and the blog on writing your first CAFE application. The core of this discussion is an example which shows...
Masoud Kalali announced that his Java EE Security Refcard is now available for download at no cost:
Java EE Security refcard is available for download. This refcard covers Java EE 6 security and discuss how each application server supports the specs. The refcard covers authentication, authorization, and transport security in Web Application, EJB application and web services by introducing the concept and the related annotations and deployment descriptors which help us realize the concept.
Juliano Viana presented Applicaction configuration in Java EE 6 using CDI - a simple example:
CDI (Contexts and Dependency Injection for the Java EE platform) is defined in JSR-299 and enhances support for dependency injection in Java EE 6. The more I use CDI the more I like it...However, I couldn't find a simple example of how to configure your application with CDI by reading configuration attributes from a file. Here is an example of how it can be done: Specifying injection points...
Masoud Kalali provided GlassFish Security book FAQ 1: Custom Security Realm in GlassFish:
I decided to write down the answer for some questions which my book's readers email me or ask me via twitter in my weblog so everyone can benefit from the answers. Here is the answer to the first question which involves custom security realms. GlassFish supports 5 types of security realms out of the box which are sd follow: File Realm: Usefull for development and testing purposes. GlassFish...
Masoud also posted Introducing NIO.2 (JSR 203) Part 1: What are new features?
I will write a series of blog introducing what are new features for handling I/O in Java 7. In the first part we are just going to check what do we have in Java 7 for dealing with I/O requirements which were not included in the previous versions of Java platform standard edition.
Tools, IDEs, etc.
James Lorenzen described How to create a release without the maven2 release plugin:
One of the most referenced articles I have written is "How to create a release using the maven release plugin". But what if you can't get the maven release plugin to work with your project? Perhaps like our team, you've got a legacy maven2 multi-module project that's been nigh impossible to use with the release plugin. Our project has a mix of WAR modules combined with some Flex modules. I believe our last issue was some googlecode flex mojo wasn't working with the release plugin. Consequently, for the past year or so, we've been manually creating our releases. This actually hasn't been that much of a pain since we really only do it once a sprint at the end. Combined with my favorite perl script it doesn't really take that long...
Geertjan Wielenga explained What I Don't "Get" About Eclipse Advocates...:
Read this article by Ian Skerrett on Eclipse Zone and then read this blog entry by Chris Aniszczyk. Both Chris and Ian are prominent members of the Eclipse community. Their "take" on the new possibilities of NetBeans Platform applications to include OSGi bundles and even to run natively as OSGi bundles is interesting. Rather than saying: "Hey, awesome, great to hear!", both the responses seem to be along the lines of: "Welcome out of the stone age and, yes, we've been right all along!" Not exactly a warm embrace...
Geertjan also discovered Warehouse Management Framework on the NetBeans Platform:
Time for another YANPA. And this time it's.... myWMS by LinogistiX. myWMS is an open source project and modular framework for the creation of Warehouse Management Systems. In addition to the framework, a ready-to-use application is provided. The application includes a rich-client based on the NetBeans Platform, as well as a web application for mobile devices. It is designed to handle manually operated warehouses, as well as barcode scanners and mobile devices to reduce paper-driven workflows, enabling efficiency throughout the process...
Michael Remijan provided instruction on JavaLobby on Automating Releases With maven-release-plugin:
The maven-release-plugin is used to automate a lot of the manual steps involved in releasing new versions of your software. The automation prevents mistakes which ultimately occur using a manual process. The amount of work the plug-in does is impressive