Java J2EE Portal
Enterprise Java Station
J2EE curve
Java News / Articles
Java News / Articles
India Java User Groups
Security Assertion Image
Security Assertion Markup Language (SAML)
Can Java Developers make Ubuntu - Linux their primary work OS? - Part 1
Processing...
Buy Java, Deals On Software Technology Store
Click here for great deals on computers, laptops, software and books
Migrating a J2EE application from EJB to JDO PDF Print
Written by Tim Stapleton   
Aug 30, 2005 at 02:34 AM

4. Migration / Implementation

The migration of the application to OccamJ took approximately 6 weeks duration. The migration task involved removing EJB framework dependencies and re-mapping of the entities and relationships within the Open Access Workbench.

The migration task was made significantly easier because EJB specific code such as context lookups, finders etc were factored out into helper classes and standard code patterns were used throughout the application. Many of the changes were made through text search-andreplace techniques.

5. Results

The results exceeded expectation.

5.1. Number of implemented classes

Removal of EJB generated implementation classes reduced the number of server classes from over 3000 down to approx. 800.

5.2. Deployment descriptors

The size of the deployment descriptors for the system was reduced dramatically from approx. 50,000 lines to less than 1000.

5.3. Compile and code deployment times

Compile times for the server code were reduced from 7mins 40 sec. down to 17 sec. Deploy time was reduced from 1 min 40 sec down to 2 sec.

5.4 Production performance

After migration the application ran approx. 15% faster on OccamJ than the EJB server. In addition, tuning of selected functionality using Open Access JDO allowed much greater performance gains in these critical areas.

6. Conclusion

Adoption of a POJO-POJO architecture for enterprise-scale server applications can greatly reduce complexity, improve developer productivity and enhance runtime performance. OccamJ with Open Access JDO deliver these benefits in real-world applications.


User Comments

Comment by Noname on 2005-09-01 04:28:22
POJOs sure "can greatly reduce complexity, improve developer productivity" and it seems sensible to develop new software with POJOs and not EJBs. But migrating existing and working EJB based applications to POJOs - Not sure if its worth it.  
 
Why break something that is working? You should have simplified the existing EJB based application.
Your Name / Email Address
Comment
Spam Protection - Please enter the code in the image -

Listen to code




Add This Feed Button

Enter your Email


Java Expert Interviews
Open-Source keeps me 'coding fit'
TitusBrown
Test Driven Development doesn't fit my brain
TonyMorrisJTiger
Why pick JTiger Java Unit Testing Framework over good old JUnit?
Processing...
Go to top of page  Home |
SiteMap

Copyright 2004 to 2008 Rightrix Solutions. All rights reserved. All product names are trademarks of their respective companies. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Rightrix Solutions and IndicThreads.com are independent of Sun Microsystems, Inc.

Views expressed at IndicThreads.com reflect the views of the authors alone, and do not necessarily reflect those of IndicThreads.com. IndicThreads.com and it's authors are not responsible for reader comments and opinions.

Enterprise Java J2EE JEE Portal >> IndicThreads.com