Log in to follow, share, and participate in this community.
Thread EJB reference always null.Jboss 6
EJB reference always null.Jboss 6I am deleveloping web project EJB,JPA - Hibernate as provider, JBoss 6,MySql. I new in EJB, JPA.I have problems with load ejb bean in servlet. **persistence.xml** <?xml version="1.0" ...
Oracle Proxy Authentication - JDBC DatasourceHello, I'm developing a web application using JPA for accesing database. My database is Oracle and I've configured a datasource in the server. Because of audit issues, I need to configure "Oracle Proxy...
Memory leak by closed connectionsI found this bug (pretty sure about it being a bug, would love to directly file an issue in the issue tracker, but that doesn't seem to be possible without having some SalesForce "support case reference") when porting...
Thread Oracle custom sequence instead of select hibernate_sequence.
Oracle custom sequence instead of select hibernate_sequence.Hi, I use Oracle 9i on windows 2000 and JBOSS 4 with EJB3 preview 4. I want to use the sequences of oracle so, i defined one MY_SEQ In a entity bean, i have: @Id(generate = GeneratorType.AUTO, generator = "sequen...
Thread Embeddable EJBContainer and JBoss 7.1.1.Final
Embeddable EJBContainer and JBoss 7.1.1.FinalHas anyone been able to get EJBContainer.createEJBContainer() to work with JBoss 7.1.1.Final? Running the following code as a JUnit test results in NullPointerException! public class EJBContainerTest { ...
getHandle() equivalant in EJB3Hello All, I am trying to migrate an ejb 1.1 app from weblogic to ejb 3.1 JBoss 7.1, and I am currently trying to find the equivalant of the getHandle() call for EJB3 spec. In the 1.1 app the handle is...
Google App Engine Support for EJBHello. I have been testing for the first time enterprise java beans and I have to say I like it mainly because of the simplicity in implementating the logic layer, apart of the model and the view. But any awa...
Thread How to get the id of entity with auto_increment value?
How to get the id of entity with auto_increment value?Hi there, I've an entity Order with @GeneratedValue(strategy = GenerationType.IDENTITY) annotation (I've a MySql database). -----------------------------------------------------------------------------...
Thread How to package EJB interface for JBoss AS 7
How to package EJB interface for JBoss AS 7I'm migrating to JBoss AS 7 from JBoss AS 5. I've read JBoss AS 7 Class Loading mechanism and although I feel I understood it, I have a hard time packaging my jar and war for JBoss AS 7. Here is the scenar...
Entity hashCode and equals overridingHi there, I'm having some problems overring hashCode() and equals() methods of an entity Book. This is my code: ------------------------------------------------------------------------ @Override ...
Message Linking not workingHi there, trying to get a working message linking example. However, when deploying the following exception it thrown. Does anybody have a glue on what is going wrong? There are some books describing message l...
Thread javax.ejb.EJBAccessException: Invalid User Jboss 5.1
javax.ejb.EJBAccessException: Invalid User Jboss 5.1Hi This might be the routine question I am posting here, but I dont know what where else to post. My configuration Jboss 5.1.0 GA app server, EJB3 And I am trying to call a secured meth...
jboss & NoInitialContextExceptionHi, I recently started learning EJB. I was trying to follow the work book examples from the EJB 3.0 book by Bill Burke & Richard Monson-Haefel. I have an eclipse, and JBoss 7 Final configured. I was able t...
EJB3 Outside the containerGetting started on ejb3s outside the container: The attached zip file has an application that uses ejb3 persistence outside the container that can be run from ant on command line. This can be used for ...
Thread Passivating EJB 3 Stateful Session Beans stops the World!
Passivating EJB 3 Stateful Session Beans stops the World!Carlo and Andrew, I have been running the same load test that I ran for my EAP 4.x performance tuning presentation (uses the EJB 3 Stress Test application we use in QE), and I have discovered what appears to be a pr...
Help with Java+Netbeans+JBoss+JMS+EJBsHello, I am working on converting a two-tier Java desktop application to a three-tier application. This is a desktop application and uses the Swing Application Framork (SAF) as its UI. This is NOT ...
EJB asynchronous methodI'm using JBoss 7.1.1 final. I have a stateful EJB with an asynchronous method. From a jsp I call a synchronous method of the previous EJB and this method call the asynchronous one of the same EJB via proxy. @...
Plug-able default JNDI binding policyThis is something we've discussed in the past, but it's come up again. I propose that we create a plug-able default jbndi policy. It's becoming clear that no matter what we choose for a default policy, somebody doesn'...
Thread Invoke remote ejb's with additional custom properties
Invoke remote ejb's with additional custom propertiesHi All I have deployed stateless beans in jboss as 7 and i use a remote ejb client to access the deployed ejb's every thing seems to work fine with the below code. ...