java-ee-6
Number format exception when returning values from database(JPA)
I want to fill a simple h:datatable tag with some values from a database. But i get an exception and i cant find what is the reason:[详细]
2023-03-31 09:49 分类:问答How do I keep Glassfish from creating a new session for each request?
Glassfish 3.1.1 Jersey 1.8 I have the following stateless session bean exposed as a JAX-RS resource.VehicleResource is contained in a WAR, with the other EJBs in an EJB-JAR.The entire app is packaged[详细]
2023-03-31 03:39 分类:问答Why does CMT commit on exit of EJB method, when transaction attribute is "Required"?
I am consistently finding that my already-existing transaction is getting committed inside any method of an EJB marked @ejb.transaction type=\"Required\". Can this be correct?[详细]
2023-03-31 00:34 分类:问答Using a Singleton to create a default administrative account
I never used the @Singleton new feature of JavaEE 6 and i want to give it a try. I was thinking in creating s Singleton to just hold a password that will allow the app adiministrator(The person that[详细]
2023-03-31 00:22 分类:问答RESTful cross authentication
I have 2 RESTful services realized in JAX-RS (Jersey): \"A\" and \"B\". They are deployed on a separate application servers. \"A\" and \"B\" are both of mine.[详细]
2023-03-30 10:47 分类:问答How to refresh parent jsf page from richfaces popup
I have a JSF page with a few fields. I followed this tutorial from BalusC and all is good. I then added RichFaces support to it, which is working fine. I can see popups etc working.[详细]
2023-03-29 18:20 分类:问答Disabling EJB Timer (GlassFish 3.1, Java EE 6)
We have a VIP (BIG-IP) that actually moves the web service requests to two nodes each with its own GlassFish server 3.1 and our services deployed. So it is not a true glassfish cluster.[详细]
2023-03-28 21:01 分类:问答Where can I place eligible candidates for CDI in a Glassfish v3 deployment?
I have code in one jar (a.jar) which contains an @Inject X x. I want to satisfy the injection with an implementation in another jar (b.jar, being a valid bean archive etc.).[详细]
2023-03-28 14:48 分类:问答Create an "Application Client" with Maven in Java EE
I am trying to create a maven based Enterprise Application with an Application Client which runs in the Application Client Container from GlassFish. It should fit togheter as the Project template from[详细]
2023-03-28 04:48 分类:问答Problem using HttpServletRequest authenticate() within JSF 2.0 preRenderView listener
I\'m trying to use the authenticate() in a preRenderView listener method, in order to trigger authentication conditionally, depending on view parameters in the page. I tried adding a simple method:[详细]
2023-03-27 08:18 分类:问答