EJB 3.0 webservice in weblogic 10.3.3.4 - eclipse

I am trying to create a EJB 3.0 session bean with methods exposed as webservice.I am using Eclipse and my weblogic server is integreated and is there a tutorial of sorts to create a sample webservice?

Have you seen the docs that have an example of an EJB 3.0 web service?
http://download.oracle.com/docs/cd/E21764_01/web.1111/e13758/jws.htm#i246190

Related

Which Application Server is used by Quarkus Internally?

Like Spring Boot uses Apache Tomcat, Undertow and Jetty and i have worked on an assignment of same. So just trying to map understanding.
What application server is used by Quarkus?
I have created an application in server and found Jboss libaries, Arjuna Libraries for transaction
which is used by Jboss servers or wildfly servers. But i am not sure whether it is based on Jboss.
Can anyone please clarify?
In short, Quarkus can be thought of as its own application server. However, it is comprised of many open source libraries that have been around for a while, such as:
RESTEasy for JAX-RS
Undertow for the Servlet/Websocket engine
Netty for the network IO layer
Hibernate for JPA
The full set of extensions can be found on the Quarkus Starter website.

How to create restful web services on ejb 3.0?

How to create restful web service on ejb 3.0. Can anyone share any tutorial about it?
I am using Netbean IDE 8 and Jboss 6.2.

Access EJB from JAX-RS

While Developing a Java EE Web app, I would like to know simple ways to access an stateless EJB object through Rest.
This project needs no Dynamic Web from Java, as Client side is fully javascript deployed, so communication is done only with Ajax calls.
As I've read one way would be to create 2 EJB one for functionality other to represent Web Service.
Is there a way to avoid the Web Service part? (avoid completely the WAR) Maybe with DI?
Java EE 6, EJB 3.1, Eclipse desired. I also believe the right application server would be Glassfish instead of Jboss, due to it's compatibility with EJB 3.0
No interesting in using JAX-WS
With EJB 3.1 you can actually publish a session bean as a JAX-RS web service, if you package your (properly annotated) session bean inside a WAR.
So, the simplest solution I can think of would be to create a WAR (a dynamic web app if you're using Eclipse) and create a JAX-RS annotated stateless session bean inside the web app. You don't need any EJB projects at all.
Not really. In Java EE 6 you can directly publish a Session Bean as a JAX-WS web service, but not as a JAX-RS web service. You're pretty much stuck with creating a WAR that hosts that JAX-RS services that front the EJBs themselves.

java.lang.LinkageError: JAXB version mismatch issue with CXF 2.3 and JBoss 4.2.3

I am developing a REST web service with Apache CXF 2.3 and deploying in JBoss 4.2.3 GA. When I try to access my web service, I am getting this following error
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader.
I was able to fix this error by adding the correct version of JAXB api jar in \lib\endorsed folder. But I am doubtful whether it will interfere in any other web application JAXB related functionality. One more web application is using some other version of JAXB. Is there any other graceful way of solving this issue. Thanks for any advice.

Error in exposing webservices

I am working in webservices tool Apache CXF in eclipse with oracle weblogic server. When I expose method to webservices I get the following error
javax.xml.ws.WebServiceException: class com.canwin.webservices.jaxws.ExecuteResponse do not have a property of the name return
Thanks In Advance