Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP- Entity Bean

Rama Krishna
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My CMP EJB has the following CMP fields.
public class EmployeeBean implements EntityBean {
public int empID;
public String empName;
private javax.ejb.EntityContext entityContext = null;
final static long serialVersionUID = 3206093459760846163L;
public Address address;

Where Address is as follows,
public class Address implements {
public java.lang.String houseNo;
public java.lang.String street;

Now, how to map Address in database apart from storing as BLOB.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic