我正在开发一个数据库,推动在Java EE的网络应用,我很想知道使用EJbs的益处。
如果我理解正确的话,最好是利用电子商业进行各种业务逻辑或数据库交易。
我是怀有自由的,作为我的人民军,我在此问:
用注射的EJB作为DAO而不是从我的行长Bean中叫来的DAO正规班,有什么好处? 差别是什么?
我是Java EE新来的,因此,这可能是一个开端的问题。
我正在开发一个数据库,推动在Java EE的网络应用,我很想知道使用EJbs的益处。
如果我理解正确的话,最好是利用电子商业进行各种业务逻辑或数据库交易。
我是怀有自由的,作为我的人民军,我在此问:
用注射的EJB作为DAO而不是从我的行长Bean中叫来的DAO正规班,有什么好处? 差别是什么?
我是Java EE新来的,因此,这可能是一个开端的问题。
如果你使用EJBs,你可以使用EJB集装箱提供的一些重要服务。 对许多人来说,最有用的是依赖性注射和申报性交易。 两者都可以通过春季框架提供。 对于非常大的申请来说,EJBs有一个明确的分组模式是有益的,但你可能不需要。
We have a search form where the filter is bound to a property on a managed bean (session scope). It s not component binding, its property binding like <h:inputText value="#{searchBean.filter}"/>....
I m having trouble with a JSF selectManyCheckbox and A4J support. The purpose is to run some action when a checkbox is selected. This works perfectly in Firefox. Yet, when testing in any IE (ie6 / ie7 ...
Can anyone teach me how to use mojarra to encode my JSF files. I downloaded mojarra and expected some kind of jar but what i had downloaded was a folder of files i don t know what to do with
在共同基金中,如果用户要求终止,就需要采取一些行动。 我需要某种拦截器,但我不知道如何这样做。 我需要帮助。 增 编
Is there any way of just getting the content of the browsed file without any upload/file transfer operations? I currently use ICEFaces inputFile component but I do not need the default uploading ...
I have two JSPs where I am displaying some info from database in a h:dataTable. One of them is showing all the info, and one of them user specifically. I have showXML.jsp that shows the "XML" column ...
The problem is, that after displaying the ResultSet with <h:dataTable>, the connection is left open. If I close it, it closes the ResultSet too. I m thinking about copying the ResultSet data ...
How do I submit only part of a page in ADF Faces?