Browse by Tags

All Tags » EJB (RSS)

MockEJB

I just want to spread that word that there is a lightweight framework for running EJB's outside a container. You could use it together with JUnit so unit testing EJB's becomes easier. The current project that I'm working on uses this and though...
Posted by lamia | with no comments
Filed under: ,

Could not open ejb-jar.xml in Deployment Descriptor Editor in RAD7

We downloaded our project from JDK 1.5 to JDK 1.4. The step would obviously bring out some issues and the most annoying one I've come to experience so far is when I couldn't open my ejb-jar in the deployment descriptor editor. The solution was...
Posted by lamia | with no comments
Filed under: ,

Annoying requirement for an EJB Session Bean method

I'm a bit irritated about Session Beans because I have to implement the Serializable interface for every object that I pass to a Remote method. Of course, it totally makes sense to do that when you're making remote invocation but I'm thinking...
Posted by lamia | 2 comment(s)
Filed under: , ,

The virtual memory and EJB Stateful Session Beans

Before I was enlightened, I thought that a computer uses the swap/virtual memory to store newly opened applications that the RAM could no longer hold. I think that is partially correct. But I learned that a better way of thinking of this is that when...
Posted by lamia | with no comments
Filed under: ,

Connection Pooling and Looking up an EJB through JNDI

While I was reading a tutorial in EJB today and I read a portion on how a Servlet uses an EJB through JNDI, it reminded me on how I did connection pooling in Tomcat before in one of my previous projects. //Looking up an EJB , from RoseIndia example by...
Posted by lamia | with no comments
Filed under: , , ,

My J2EE Web Component to Business Component Transition

I've been messing around with EJB and Weblogic these past few days. As of this time, I haven't really written any EJB's yet. I'm targeting version 2.1 since I think it would take some time before adaptation of EJB 3.0 would be widespread...
Posted by lamia | with no comments
Filed under: , ,