hi jaikiran,
anonymous wrote : Actually, this isn't specific to EJB3 or tuning of EJB3 :)
:d , yeah but is there a know pattern or best practices for that ? if yes is
there some example somewhere :d ?
yeah thanks yu were right in my jboss side i was compiling ejb's with java6
and thanks a
hi,
i got my ejb's up and running
in my web project i call them like that
| TraxManager TraxManager = (TraxManager)context.lookup(TraxService/remote);
|
in my web project i implement this call in each of managed beans, which no an
optimal solution
so i try to do a generic method ==
hi ,
i got in project i call the ejb this way
|
| Properties props = new Properties();
|
props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
|props.setProperty(java.naming.provider.url, jnp://192.168.0.10:1099);
|
Hi , jaikiran ,
thanks mate yu were right ( i missread yu answer...) , adding all the jar
listed in the file fixed the issue.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242302#4242302
Reply to the post :
Hi jaikiran,
well ;
i'm using jboss 5.0.1 GA ; on the server side , i'm deploying my ejb project
using eclipse and jboss tools ; the test there work normally.
on my application i use myeclipse 7.5 ; so in my web app add the ejbJar(that i
exported from my other machine) and jbossallClient.jar
hi,
MANIFEST.MF is empty in my project ; the problem is not a missing jar because
if i call in my web project a test client class with the same code ; it will
work ; the problem :( is the injection of the code in the constructor of the
backing bean
and thanks
View the original post :
hi , i have deployed a jar a machine aunder jboss 5 , configure it it run
just fine, now i exported my ejb project as jar to use it in my web project , i
added a test class in my web project like :
| package com.vox.utils;
|
|
| import java.util.List;
| import