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

how to implement entity bean extends the value object in EJB2.0?

 
Wai Tak Pau
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I have a project currently using EJB 1.1 spec, which i implement the entity bean extends value object pattern that when i invoke a findByPrimaryKey method in the home interface it will return me a value object and i pass the value object to the JSP page and use the same value object to store user's inputed data.
I just wondering how does the entity bean extends value object implement in EJB 2.0 when the entity bean's get and set methods are abstract. Or should i use other design pattern to transfer data?
Warmest Regards,
Wai Tak Pau
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic