Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling EJB's method from MIDlet  RSS feed

 
Henrique Ordine
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I call an EJB method from a MIDlet?
Can I call it directly or do I have to do it through a Servlet?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd call a Servlet first, then have it call the EJB, or if the EJB is just a Session Facade, then I'd call the underneath POJO's directly from the Servlet, rather than having to get the Remote Interface of the EJB.

Mark
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!