Through what protocol can a Java client directly access EJBs running on an application server?

Through what protocol can a Java client directly access EJBs running on an application server?
A . JDBC
B . RMI/IIOP
C . SOAP/JMS
D . SOAP/HTTP

Answer: B

Explanation:

Provided that it uses the correct protocols (SOAP, HTTP, WSDL), any web service client can access a stateless session bean, whether ornot the client is written in the Java programming language. The client doesn’t even “know” what technology implements the service: stateless session bean, JAX-WS, or some other technology. In addition, enterprise beans and web components can be clients ofweb services. This flexibility enables you to integrate Java EE applications with web services.

References:http://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Jasveer
Jasveer
4 years ago

Your are giving answer B but Explaination is giving of option D