O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1:I have a monolithic program that I would like transition into an n-tier application. How do I do this?
A1: First you need to identify what sort of target architecture is required. If your application is to be Web-enabled, you will need to provide Web-oriented functionality in the presentation layer. If you are working with persistent data, you will need data access through a data access layer. You should map out your target architecture based on the services available under the J2EE platform.

Next, you will need to sift through the monolithic code separating out the code belonging to the logical layers. This code might need to be rewritten in such a way as to make it maintainable and extensible. Introduce modularity by adopting object-oriented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required