File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use EJB in <html:form>

 
Vb Bajpai
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic