How to call Session bean's method at application startup in EJB3? I am using EJB 3 and Websphere 7.0. I do not want to use web components like servlet etc.
From within a transactional MDB I need to send a message on a JMS queue. I want this to be transactional, meaning that if the MDB gets an error, the message will never be sent. I also want to ...
Does anyone know of a good way for me to encrypt hibernate.properties credentials? I have looked at Jasypt but fail to find any guidance on how to implement it. Particularly in how to decrypt ...
Hi.
Need to sort a NamedQuery on two parameters, but I'm getting error trying to deploy this one.
@NamedQuery(name = "Page.findAll", query = "SELECT s FROM Page s ORDER BY s.paperId ")
I...
Can somebody please help me with step by step guide of how to call EJB deployed on Weblogic from application deployed on glassfish server.
I have been looking for answers in different forum...
Hi,
I am trying to learn and implement EJB 3.0 with JBoss 5.
I have attached my sample code below.
I am using MyEclipse 6 IDE & JDK 6
While running client I am getting this exception :...
Is it possible to put a unique constraint on an entity based on two or more fields?
I have a company entity which has a code and name field. It should not be possible to add a second databa...
Hi
Could some one please let me know what causes this error while deploying the application to weblogic. The backend is Oracle 11.
Unable to deploy the EJB because the database table is no...
I would like to know more about:
1. Serivce Locator Design Pattern
2. Business Deligate Design Pattern
Can any body help me about these 2 design patterns. Where exactly we use in ejb & give...
hello guys, i'm trying to run Hello World ejb 3.0 example on jboss 5.1.0 but getting error:
java.lang.ClassCastException: javax.naming.Reference cannot be cast to com.myeclipseide.ejb3.My...
Any info on how to setup tcpip eways.
Thanks
Could any one tell me how to design a distributed application in J2ee where clients would be able able to access information from multiple sites.
For example I have two companies A and B. Bo...
Hi!
I've a small problem:
I use MySql and Glassfish as server and I want to create two object:
One have the relation of the other one.
I've not access to the entity Manager directl...