Can EJB 3.1 Lite be exposed via Remote interface?

十年热恋 提交于 2019-12-11 07:55:45

问题


So I have written an application Expose my business logic via Remote interface for App Client, and Local interface for Web module. Just find out that our server has limited memory, so I need to make Glassfish to be light weight. Unfortunately, GF Full Profile is not light weight (using GF 3.1.1 RC atm), therefore I am looking at the Web profile of GlassFish. Now there is a answer saying that Remote interface is not a feature of EJB Lite here ( exposes a Remote client view. This feature is not part of the EJB 3.1 Lite API ), but it was 7 months ago, and the OP answered his/her own question, so I just want to confirm this information.

If it is true the Remote interface is not for the web profile, then is there a way for me to make Glassfish lighter? I dont need a lot of feature from Glassfish full profile, like JAX-WS, JAXB, JAX-RS ... Can I take them out somehow?


回答1:


Per table 27 of the EJB 3.1 spec, remote interfaces are not part of EJB Lite ("Local / No-interface: YES", "3.0 Remote: NO", "2.x Remote Home/Component: NO")

(Sorry, I don't know enough about Glassfish to answer your other question.)



来源:https://stackoverflow.com/questions/6711970/can-ejb-3-1-lite-be-exposed-via-remote-interface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!