This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes use EJB in <html:form> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "use EJB in <html:form>" Watch "use EJB in <html:form>" New topic

use EJB in <html:form>

Vb Bajpai

Joined: Feb 13, 2009
Posts: 1
can I directly use EJB in <html:form>? right now I am using POJO bean and then mapping those values into EJB from within Action class.
Alok Kushwah
Ranch Hand

Joined: Jul 10, 2007
Posts: 31
Both EJB and Java bean contains "Bean" in their name, however they are not replaceable by each other. EJB technology is to develop distributed server side component/service, on other hand Java Bean is a simple class with accessor methods for its attributes (setter/getter) (As you said POJO). EJBs are not POJO. Read about <html:form> tag. tag should work with Java Bean (POJO).
Have you checked out Aspose?
subject: use EJB in <html:form>
jQuery in Action, 3rd edition