Many people are taking about Eclipse IDE. So I downloaded it today. Eclipse seems to be a basic stuff, may be only for creating simlpe java classes. It doesnt have anything to create/test EJBs. correct me if I'm wrong
My appln has these components: 1. UserForm - which is my ActionForm 2. UserAction 3. my EJB stuff 4. My DTO to tranfer data from web to ejb tier Here is what happens: The UserAction pulls the data out of UserForm, constructs a new DTO and sends it to the EJB stuff. My question is, can I not send the UserForm directly to the EJB tier. I guess I should make it serializable. Are there any issues in this.
In SQL, to get all records within a range, we write SELECT * FROM MYTABLE WHERE salary BETWEEN NVL(low_value, salary) AND NVL(hi_value, salary); If low_value and hi_value are null, then we get the full range. How do we do it in EJB QL.
If I have the container manage the ralationships between my entity beans, where is the relationship status stored? What happens if I move my application to another server. How is the relationship's current status maintained?
I am using j2sdk 1.4 and tried the simple Lookup example in the jndi tutorial. I get following. I even put jndi.jar in jre\lib\ext. But no use. Any hints. javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
While entity beans are in pool, they have not object identity. They get an identity only after they move to ready state. Is this correct. If correct, how are we able to execute findByPrimaryKey method on the pool of beans with no identity.
Lets say I have a stateful session bean performing some business logic. Lateron, I find that I could have as well made it as stateless session bean. Do I just have to change the <session-type> to stateless? Or is there anything else I need to do?