Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days
by Mandar S. Chitnis, Lakshmi Ananthamurthy, Pravin S. Tiwari
Constants Files (EJB Components)
Listings C.15 and C.16, again helper Java classes, are used in the MVC application as an industry best practice. All the variables used in the JSP files are present in the JSPConstants.java file. Any value to be accessed from the HttpServletRequest object coming from the JSP files is accessed using the appropriate variable from this file. Also, any values to be accessed from the MVCAppValueObject are accessed using the variables defined in the Java file MVCConstants.java. This practice reduces intercode dependency during development. Following is the detailed listing for each of the files mentioned. Again, these files are to be placed in the directory called ejb_components_src, discussed on Day 16. The deployable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access