File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes custom tags/beans/EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "custom tags/beans/EJBs" Watch "custom tags/beans/EJBs" New topic

custom tags/beans/EJBs

manasa teja
Ranch Hand

Joined: May 27, 2002
Posts: 325
Can somebody please expalin , when actually , we will go for Custom tags/beans/EJbs and the reason behind it? Examples are welcome.

chanoch wiggers
Ranch Hand

Joined: May 24, 2001
Posts: 245
the fact that you ask this question suggests that you dont know what each of those technologies does. I suggest you find out more but here is a quick summary:
custom tags are used within JSPs only and just enable you to get rid of jsp scripts in your code.
EJBs are Heavyweight business components. they can be used to model business logic - i.e. the actual work behind serious applications - and other java code uses them to make that logic available to users.
beans are just java classes that conform to certain constraints that allow them to be manipulated using reflection. I suggest that to save me typing out an explanation yuo do a search on google "definition javabeans" as there is a fair amuont to learn there.

chanoch<p><a href="" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
I agree. Here's the link:
subject: custom tags/beans/EJBs
It's not a secret anymore!