File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes a newbie on Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "a newbie on Beans" Watch "a newbie on Beans" New topic
Author

a newbie on Beans

karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi
does it make sense to only bind imuttable objects to a session (or allso to a server context) ? I wonder if it is a good idea to fill all the data (eg from an Item object i use in business logic) in a Object (a Bean) that only has getter methods in order to prevent a unused JSP designer to accidentaly call a method he is not supposed to call (eg. setStock(0). I dont have a application right now, im just curious and maybe the example is bad....) ? this would require to have two classes (Business object and Beanobject) versus having one class.
does anyone get what i try to tell ;-) btw. no doubts because of your intelligence but because of my lousy description....
thanks,
k
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a newbie on Beans
 
Similar Threads
Best practice for view data population
NX UyB: Booking fails, then what?
Confused in Class Diagram
JSF Browser Refresh
Enthuware mock test - regarding