stateless-session-bean
JSF + Stateless EJB performance
I have a JSF 2.0 application running on GlassFish v3. It has EJBs that serve database data via JPA for the main applications sessions. Even on non-IDE app-server, the EJB calls are very slow. Between[详细]
2023-01-15 13:43 分类:问答EJB3 Caching Instance Variables
I\'ve noticed some strange code on a project I am working on - its a SLSB EJB3, and it uses a private instance variable to maintain a cache of data (it even calls it dataCache or something), with a ge[详细]
2023-01-15 04:59 分类:问答Stateless Session Bean
Do I package a stateless session bean in a war file or a ear file for deploy开发者_C百科ment? Neither nor. EJBs belong in standard JAR files (with a META-INF/ejb-jar.xml). In order to use EJBs from a[详细]
2023-01-12 11:09 分类:问答Safe to store reference to Entity Bean after session ends?
This is a pretty newbie question- please know I\'m aware of that. I have a stateless session bean that needs to load up some data once and cache it locally in a static variable for use by all instanc[详细]
2023-01-06 10:53 分类:问答Java EE 6 + JPA - Exception: Message Driven Bean cant be managed bean
I create an Enterprise Application CustomerApp that also generated two projects CustomerApp-ejb and CustomerApp-war. In the CustomerApp-ejb, I create a SessionBean call CustomerSessionBean.java as bel[详细]
2023-01-01 20:04 分类:问答Weblogic 10.3.0 : Losing a stateless session bean in the bean pool
We have a strange situation where we lose a Stateless SessionBean in a Bean Pool in Weblogic 10.3.0. Since we only have one bean in the pool, this effectively hangs all incoming calls. We do not want[详细]
2022-12-20 05:43 分类:问答WebSphere 5.1: Setting JDBC datasource connection as "unshareable"
L.S. Our DB provider has suggested that we use \"unshareable\" connections when connecting to their DB. I have a reasonable understanding about the pros/cons of using \"unshareable\" connections, and[详细]
2022-12-19 04:28 分类:问答need help in EJB stateless beans
I am new to EJB. I have a requirement of calling a method of remote stateless bean and setting a value, before calling any method on the same bean. The value set from first method call should be avail[详细]
2022-12-14 01:46 分类:问答What does a stateless session bean provide over just a normal class?
Wha开发者_C百科t would a stateless session bean provide over just a regular class that has the same methods?It seems that a stateful session bean can be distributed out of the box and the container wi[详细]
2022-12-13 15:04 分类:问答