This makes sense. Thank you for the clarification.Ernest Friedman-Hill wrote:what's bad are classes that couple different layers of the app and prevent them from varying independently. If you use the same beans for persistence and UI, then if need a new field in the gui, you suddenly find yoursélf modifying database code.
Does this imply that it is a recommended practice to translate all bean data into key/value pairs in a hash before passing the data to JSPs via the response object?Ernest Friedman-Hill wrote:In this application, the JSP talks to the servlet via HTTP, and the servlet uses the VideoData class since they're together in the same package. The JSP has no reason to touch the VideoData class, and so it's not marked public. There's a real nice separation of concerns -- this makes it real easy to understand the code.
I went with it and it seems to work okay.Ed Connery wrote: Shall I go ahead with 2.0.3?
I downloaded glassfish - which came with javaee 6. There was only one problem that I encountered that was related to moving the javaee.jar from the glassfish\lib to the java\bee\lib\production which is found in the section on deployment using ANT.Ed Connery wrote:When I go to the Oracle site I only see Java EE 6, and I don't know if that's compatible with JDK 1.5.