my dog learned polymorphism*
The moose likes Beginning Java and the fly likes what exactly is a javaBean not EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what exactly is a javaBean not EJB" Watch "what exactly is a javaBean not EJB" New topic
Author

what exactly is a javaBean not EJB

deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
what exactly is a javaBean not EJB
sridhar sivaraman
Greenhorn

Joined: Mar 02, 2012
Posts: 13
a java bean is just a plain old java class which acts as the "model" in the MVC pattern
The usual flow will be as
servlet(controller)->java bean(model)->servlet(controller)->jsp/html(view)
usually the bean class acts like a helper application
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

That is just one small part of what JavaBeans are used for. Any question that starts with "What is a ..." is best answered by searching sites such as Wikipedia as in JavaBean.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what exactly is a javaBean not EJB