For Doing an Lookup we are using the following code:
Properties p = new Properties();
p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.provider.url","jnp://localhost:1099/");
p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
InitialContext ctx = new InitialContext(p);
IAbc ref = (IAbc)ctx.lookup("TransactionBean/remote");
ref.addTransaction(persistenceObject);
We are doing an persistence into Database using JPA.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259727#4259727
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259727
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user