Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
deploy rest web services on weblogic
Hi all, I'm new with weblogic and EJB v3; I've published a RestFul webservices using EJB3: package rest; import javax.ejb.Stateless; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; @Stateless @Path(value="/fattura") public class FatturaServiceBean { @GET @Produces(value="text/plain") public String generaProssimoNumero(){ return "1234"; } }
As you can see very very easy and it works, but i can call it
http://localhost:7001/soap-web-service-ejb/resources/fattura
Now I'm asking why weblogic has added the word resources in the URI, tomEE dosn't add the word resources in the URI!!!! Is that a feature I can customize?
And also is there a way to tell weblogic to print in the log every web services is installed on it when it startup?
thanks
really much
Tagged: