This content has been marked as final.
Show 4 replies
-
1. Re: The deployment of EJB3.0 is too slow, 5m for each bean
puddlor Apr 10, 2007 2:01 AM (in response to puddlor)I find the problem.
Wrong but can work in JBOSS( not in Weblogic):
@Stateless
public class A implements ASvr, ALocal{}
@Remote
public interface ASvr{}
@Local
public interface ALocal{}
Correct:
@Stateless
@Remote(ASvr.class)
@Local(ALocal.class)
public class A implements ASvr, ALocal{}
public interface ASvr{}
public interface ALocal{} -
2. Re: The deployment of EJB3.0 is too slow, 5m for each bean
fhh Apr 10, 2007 5:13 AM (in response to puddlor)No, the first is correct.
Sometimes I get very slow deployments when running in debug mode under Eclipse. This is reported as a bug somewhere but there is no fix as far as I know.
Regards
Felix -
3. Re: The deployment of EJB3.0 is too slow, 5m for each bean
bdecoste Apr 10, 2007 3:18 PM (in response to puddlor)Either annotation implementation is supported - you can annotate either the interface or the bean.
-
4. Re: The deployment of EJB3.0 is too slow, 5m for each bean
puddlor Apr 10, 2007 9:02 PM (in response to puddlor)"fhh" wrote:
No, the first is correct.
Sometimes I get very slow deployments when running in debug mode under Eclipse. This is reported as a bug somewhere but there is no fix as far as I know.
Regards
Felix
Felix, the eclipse didnt run in debug mode, but it is still very slow. I think that macosx maybe a reason. I run everything on a osx. my collegue deploys the the first code in 2min on windows, otherwise it takes 5min on mine.
the second is ok, it only takes 10 second. however, when I add a lot of real things in the second code, deployment become very slow too. it will take 2min then.
finally, I move to weblogic 10 for developing. I have 10s ejb3.0 on my application. I cant tolerate at least 10mins for each deployment.