"jaikiran" wrote : I understand what you are trying to do here. There was a 
similar question sometime back on this forum 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134276. See if using 
@Resource as mentioned in that thread is a feasible approach. That way, each 
application can have their own persistence unit name but bind them to this 
pre-decided JNDI name and inject it.
  | 
  | 

Thanks Jaikiran, but what if we use say Glassfish instead of JBoss? this 
solution seems to be working on JBoss only. I know the designers don't accept 
this solution because they want the application to be portable

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184677
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to