rmi « ejb « Java Enterprise Q&A





1. RMI, EJB and callback    stackoverflow.com

Is it possible for a client to pass an RMI object as an argument to an EJB so that the EJB may callback the client?

2. NamingException when trying RMI/HTTP from JBoss 4.0.1 to 4.2.3    stackoverflow.com

I've got an application that is trying to call a method on an EJB running on JBoss 4.2.3 GA. The application is a legacy app; it works when it accesses the ...

3. java.rmi.MarshalException: Failed to communicate    stackoverflow.com

I'm using jbossIDE Eclipse 1.6. when deploying my .ear app, I get a java.rmi.MarshalException. what's surprising is that just a few min ago, everything was OK. I feel like this jbossIDE Eclipse thing ...

4. java.rmi.ServerException: RuntimeException    stackoverflow.com

When trying to access an ejb from a client , I get this exception :

java.rmi.ServerException: RuntimeException; nested exception is:   
java.lang.NullPointerException
at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
I can't figure for the life of me, ...

5. java.rmi.MarshalException    stackoverflow.com

whenever I try to call my ejb from a client, I get this error :

  java.rmi.MarshalException: Failed to communicate. 

    Problem during     marshalling/unmarshalling; ...

6. Web Services vs EJB vs RMI, advantages and disadvantages?    stackoverflow.com

My web server would be overloaded quickly if all the work were done there. I'm going to stand up a second server behind it, to process data. What's the advantage of ...

7. EJB3.1 Remote invocation - is it distributed automatically? is it expensive?    stackoverflow.com

I'm building a JEE6 application with performance and scalability in the forefront of my mind. Business logic and JPA2-facade is held in stateless session beans (EJB3.1). As of right now, the ...

8. Enterprise application development-RMI and EJB    stackoverflow.com

I am new to enterprise applications. Just started to learn EJB. I know RMI well. Can anyone map RMI with EJB to understand the basic strongly else give some links/books to ...

9. Concurrent usage of an EJB that is exposed as RMI service    stackoverflow.com

I have built an application which simulates several clients using the same RMI service. This service is then invoked concurrently by every client retrieving and uploading data to the server. My ...





10. Are concurrent remote invocations on an RMI exposed jBoss EJB serialized?    stackoverflow.com

This is a more detailed version of the same question asked yesterday. I have a client app which communicates with the server app through RMI calls to stateless EJBs. The initial ...

11. ClassNotFoundException: No ClassLoaders found for    stackoverflow.com

I'm getting the following exception:

2011-01-05 13:47:51,604 ERROR [STDERR] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: com.client.itemmanager.ItemSessionHome (no security manager: RMI class loader disabled)]
2011-01-05 13:47:51,604 ERROR [STDERR]  at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:730)
2011-01-05 ...

12. Remote invocation in EJB 3.0    stackoverflow.com

I'm new to EJB 3.0 and trying out the DI with my ejb's. I'm using WAS 7.0 as my appserver and I have two EAR's deployed on it. Both have ejb 3 ...

13. EJB vs Rmi comparison    stackoverflow.com

On higher level if we analyze EJB say statelessEJB Bean , its seems to be that ejb framework created out of RMI API's. Reason why i am saying this :- IN RMI ...

14. Injecting remote interface from within the same EJB-JAR or EAR    stackoverflow.com

Is calling a remote @remote interface from within the same EJB-JAR or EAR would make the app server use RMI/RMI-IIOP? Or the App Servers would be much intelligent and doing this call ...

15. EJB serialize issue    stackoverflow.com

I am keep getting this error message even ReportInterfaceSummary has implemented Serializable interface and its components are all serializable objects any idea? java.rmi.MarshalException: Failed to serialize com.company.web.reports.reportinterface.ReportInterfaceSummary at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205) ...

16. RMI compiler generates broken stub for EJB 2.1    stackoverflow.com

Adding a new method to a stateless EJB(2.1) and promoting it to the Remote interface through the Rad 8 UI leads to the RMI compiler generating a broken EJB _Stub. Java Compiler ...





17. Difference between EJB and RMI    coderanch.com

18. rmi vs ejb    coderanch.com

19. RMI or EJB for Finance professionals?    coderanch.com

20. rmi and ejb    coderanch.com

21. Reasons to use plain RMI vs EJB    coderanch.com

Hello! I'm no expert on network communications, and am trying to decide whether to use RMI or EJB (Session Beans) for a project. My issue is whether using EJB will better manage server resources in terms of network connections/threads. I understand that with RMI each client call will result in a *new thread*. Is this correct and likely to be a ...