Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes The need of Java Bena ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "The need of Java Bena ?" Watch "The need of Java Bena ?" New topic
Author

The need of Java Bena ?

Raveendran Karunakaran
Ranch Hand

Joined: Jun 25, 2001
Posts: 38

If we could store values in the session then what is the need of Java Beans ?
hash eagle
Greenhorn

Joined: Jun 23, 2001
Posts: 6
to separate the business logic with the presentation
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
In particular you don't want or need every JSP to know all the details of every value and type of variable stored in the session. Grouping these stored values into beans allows JSPs and servlets to manipulate named "clumps" of information in a meaningful way, and allows the actual implementation of these "clumps" to be independent of their use.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
 
subject: The need of Java Bena ?
 
Similar Threads
ascii to binary conversion
java smart card
Need of Java Developer
Need pure java sound api
hi security tutorials