Posted by lancea
on June 22, 2004 at 8:37 AM PDT
The Java Application Verification Kit for the Enterprise (J2EE AVK) is a valuable tool for any J2EE developer. The toolkit allows you to validate that your J2EE applications are correctly utilizing the APIs provided by J2EE and helps you to understand whether your application is using vendor specific features.
The newest release of the J2EE AVK provides support for J2EE 1.4 and incorporates some new features that I am sure you will find useful:
- Support for J2EE 1.4, J2EE 1.3 and J2EE 1.2 applications and standalone components
- Dynamic validation of WebServices which utilize Servlet or EJB based endpoints
- Support for component libraries
- A source code scanning mechanism to report the use of proprietary APIs
- Enhanced static verification of your applications and standalone modules
You are probably asking why should I starting using the J2EE AVK if my applications run just fine today? The use of the J2EE AVK will help you to find issues that might work with the current version of your application server, but could fail when you upgrade or migrate to another server.
One simple example of an error that the J2EE AVK will catch:
- You create a Session Bean and specify a transaction attribute for one of the methods on the home interface.
Now the above violates section 17.4.1 of the EJB 2.1 specification and on some application servers the deployment will fail and on some deployment will succeed but the attribute will be ignored.
Even if you have not had a chance to take the J2EE AVK for a test spin, we would be interested in your feedback to the following questions. We will be summarizing the responses as part of our J2EE AVK BOF:
- How often do you encounter portability issues during application development?
- What are your top three compliants when porting your applications from one application server to another?
- What tools if any besides the J2EE AVK do you use to help making porting your applications easier?
- In what areas, would you like to see additional tools to help ease the porting/migration of your applications from one application server to another?
I hope you will give the J2EE AVK a try. You can download a copy of the AVK from here .
To find out more about the J2EE AVK, consider attending one of the following JavaOne sessions:
- BOF-1530, Got Portable Apps? Using the JavaTM AVK to Help Write Portable JavaTM 2 Platform, Enterprise Edition (J2EETM) Applications
- TS-2945, Writing Portable Applications and the Java TM Technology AVK
If you cannot make any of the JavaOne sessions, please stop by the pavilion and visit POD #1225 Java Verified Program - Enterprise Application .
We look forward to seeing you at JavaOne!