The moose likes EJB and Other Java EE Technologies and the fly likes CMP- Entity Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "CMP- Entity Bean" Watch "CMP- Entity Bean" New topic
Author

CMP- Entity Bean

Rama Krishna
Greenhorn

Joined: Nov 19, 2001
Posts: 3
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 java.io.Serializable {
public java.lang.String houseNo;
public java.lang.String street;
}

Now, how to map Address in database apart from storing as BLOB.
 
 
subject: CMP- Entity Bean
 
Threads others viewed
sending pdf file to client as byte array
org.xml.sax.SAXException: No deserializer for{http://DefaultNamespace}ARRAYNAME</faultstring>
WebSphere V5 CMP create problem
How to map an EJB in database apart from storing as BLOB
error when running ejbc on my jar file
developer file tools