
Creating a user-defined JMS data binding
A user-defined JMS data binding is necessary when the JMS client is expecting a Enterprise JavaBeans (EJB) and the SCA application is expecting business objects.
Before you begin
About this task
The BookObject.java code is shown below:
public class BookObject implements java.io.Serializable {
private String ISDN;
private String author;
private String title;
private float price;
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getISDN() {
return ISDN;
}
public void setISDN(String isdn) {
ISDN = isdn;
}
public float getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}
