|
|
Spring in Finance eXchange 2008: Jan Machacek & Aleksa Vukotic on Migrating Java EE web applications to dm Server
Migrating Java EE web applications to dm Server
This talk on how to migrate your Java EE web appliations to dm Server, will give a hands-on guide to migrating a large Java EE web application to dm Server. Through some slides and a demo, we will cover the potential pitfalls of the migration process and explain how to overcome these.
Jan will cover the dm Server legacy deployment model, WAR and shared services WAR. Jan will also cover the setup of dm Server, through a demo. He will then go through the ISW structure, including DAOs (Hibernate, JDBC), services (lookup & import), web (Spring MVC, FreeMarker). A practical demonstration on the migration will then show how to obtain the libraries as OSGi bundles and how to resolve Java EE resources (java.sql.DataSource, javax.mail.Session) and how to change the build process.
Review:
Jan Machacek and Aleksa Vukotic from Cake Solutions talk about their experiences in transferring an old J2EE application into dmServer.
The architecture of the previous system, which has been around for 2 years, is introduced briefly to provide a background. The two first show the audience the installation process of dm server. They then give a live demo where they deploy the original WAR file on the dm server, showing that it is possible to take a WAR file that runs on WebLogic and deploy it on dm Server without any changes necessary to the file.
Jan and Aleksa then show another demonstration, forcing the application to use shared libraries in the library repository instead of deploying its own libraries. This is done by copying relevant bundles into the dm Server. Only the packaging of the application is changed while the original code of the application still remains untouched.
The application origninally had a size of 22 MB before the transfer and the size is reduced to 1.6 MB after making it use shared third party libraries. This allows for a much, much faster deployment process.
The SpringSource Enterprise Bundle Repository, where OSGi enabled versions of many open source libraries can be found is here...
Review by Eren Aykin
Download the slides here
ABOUT JAN MACHACEK
|
Jans is a Chief Architect at Cake Solutions, a committer to the Spring Modules project and mainly involved in the JSR-94 support for this project, as well as the MVC module.
More about Jan Machacek
|
ABOUT ALEKSA VUKOTIC
|
Aleksa Vukotic is senior developer of Cake Solutions Limited. He joined Cake Solutions in June 2004. Since joining Cake, Aleksa has worked on numerous Java projects using the Spring framework for variety of clients.
More about Aleksa Vukotic
|
|
PODCAST MIGRATING JAVA EE WEB APPLICATIONS TO DM SERVER
|
|
|
|
OTHER JAVA & JEE EVENTS
|
Spring Application Development
4 DAY COURSE. Featuring David Syer London, Tuesday, March 23rd
|
|
Tapestry 5 in Action
FREE EVENT:
In The Brain of Ben Gidley
London, Tuesday, March 23rd
|
|
JAVAWUG
FREE EVENT:
Ease into Scala Web Developmen
London, Wednesday, March 24th
|
|
Gojko Adzic's TDD Java Development Workshop
2 DAY COURSE. Paris, Wednesday, March 31st
|
|
Spring OSGi with dm Server
2 DAY COURSE. London, Thursday, April 8th
|
|
London Scala Users' Group
FREE EVENT:
Traits & Mixins
London, Monday, April 12th
|
|
Tomcat Administration Fundamentals Training
2 DAY COURSE. London, Tuesday, April 13th
|
|
Spring Hibernate O/R Mapping
3 DAY COURSE. London, Wednesday, April 14th
|
|
|
|