Java – why can’t I create restful web services in EJB modules?

I use NetBeans 6.8 I can see the option to create web services in my independent EJB module, but I can't seem to find the option to create restful web services in my EJB module Is there any restriction in the EJB module that I can only create soap based web services instead of restful? Or is it a NetBeans 6.8 error?

Solution

Chapter 2.6 of EJB3 specification:

In other words: EJB 3 can only be exposed as a soap web service

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>