New in Payara Server 5.191: Remote EJB via HTTP
                                    
                                        Payara 
                                    
                                
                                 
                            .
Share:
 5 minutes
 
                            5 minutes 
                            Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]
 6 minutes
 
                            6 minutes 
                            If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]
 2 minutes
 
                            2 minutes 
                            Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]
Excellent! Been waiting for this for a long time.
Hi, that’s very interesting. Maybe it would be helpful for Jakarta EE 9. Remote EJB over Rmi/Iiop has more drawbacks like System.gc() calls every 60 minutes because it uses Object.finalize() for clean up.
Greetings
Hello,
It’s just what I needed to move the EE application into the cloud. However, my problem is that I use stateful beans. I’m just waiting for implementation. Until then I emulated the stateful behavior by putting the stateful beans into a singleton bean on the server (in a hashmap). I created a stateless bean with the same methods as stateful beans that call corresponding methods of stateful beans from singleton.
An Observation: The example works only if I add two dependencies to the client:
org.glassfish.jersey.inject
Jersey-HC2
2.28
org.glassfish.jersey.media
Jersey Media-json-Jackson
2.28
Great work,
Thank you 🙂