Vishal,

Have a look at the discussion chain on topic :-


http://www.jboss.com/index.html?module=bb&op=viewtopic&t=50863


That provides a complete solution to a similar problem with two differences.

Diff. 1

That problem was for a singleton solution, in which only one Entity Bean exists in the 
database.

In your case, you need a BMP entity bean for each train number.  So replace the fixed 
primary key by train number.

Diff. 2

In the example, the Entity Bean stores and returns an ArrayList of String objects.  
You will presumably need to store and return an ArrayList of TrainInfo (or whatever) 
objects.

Hope this helps.

James




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841389#3841389

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841389


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to