Solved

EJB3 with J2ME

Posted on 2007-04-03
4
520 Views
Last Modified: 2013-11-24
Can mobile devices running J2ME connect to EJB3 containers?
0
Comment
Question by:kevorkgt
4 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 18848330
0
 

Author Comment

by:kevorkgt
ID: 18848872
Is there any way to access EJB components directly without having a servlet in the middle (as the suggested tutorial shows) ?
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 250 total points
ID: 18861388
I doubt it.

Though there could be an optional RMI package in J2ME which can be used for accessing EJBs
0
 
LVL 8

Assisted Solution

by:n_sachin1
n_sachin1 earned 250 total points
ID: 18944677
With EJB2.1 onwards, you can define a stateless session EJB as a webservice endpoint. You will not be  using a Servlet there, but the EJB will need to marshal/unmarshal soap envelopes.

Axis is a well tested tool that sits between the webservice implementation and the webservice client and provides the capabilities of dealing with the soap envelopes.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 62
javap not working 8 58
mysql jsp example issue 32 49
CSV file parsing thru Java 13 34
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question