Browse by Tags

All Tags » J2EE-JEE (RSS)

Annoying requirement for an EJB Session Bean method by lamia

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...
Filed under: , ,

EJB and Java EE Design Patterns by lamia

I'm still not doing much here in my new job. There's still a lot of things to be set up. I finally got to meet with our very own Nards (N.Ocampo). Aside from that, I've been reading on Java Enterprise Design Patterns for the past one week...
Filed under: , ,

The virtual memory and EJB Stateful Session Beans by lamia

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...
Filed under: ,

Connection Pooling and Looking up an EJB through JNDI by lamia

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...
Filed under: , , ,

My J2EE Web Component to Business Component Transition by lamia

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...
Filed under: , ,

Appfuse Rocks! by lamia

I just watched appfuse screencast which I downloaded from their homepage . All I can say is, it really rocks! It's cooler than netbeans' CRUD feature and the code it generate seems much cleaner. The security features are a blast as well! I really...
Filed under: , ,

CRUD with Netbeans 5.5 by lamia

I've done it. You should too! Check this out: http://www.netbeans.org/kb/55/persistence-demo.html Hmmm... Now for me, there really is nothing that RoR can do that Java can't.
Filed under: ,

Sun Web Developer Pack by lamia

Sun is doing quite a great move in improving the netbeans IDE by creating a lot of interesting add-on on it. There's the mobility pack, profiler, and now the Sun Web Developer Pack which includes a lot of technologies that you can use to ease your web...

Ant - Not Executing Target by lamia

I was following a tutorial with Hibernate and one of the tools required for it is Ant. Most Java developers are aware (they should be) that most Java IDE they use ships with Ant including Eclipse and Netbeans. Ironically, as we are aware of this very...
Filed under: , ,

Seminar on Hibernate, Spring and SCJP by lamia

It's too bad for me that we have this get-together party at our office on Friday. Some prominent people in the Java community is arranging a meeting and I badly want to attend because they will be discussing topics I've been so into these past few months...
Filed under: ,

java.lang.IllegalStateException: Cannot forward after response has been committed - Part II by lamia

Ok, perhaps some of you remember my post about IllegalStateException and what caused it on my first post. You can find it here . Right now, I encountered another one and this time, the servlet caused the exception and not the JSP. Got the solution right...
Filed under: , ,

OpenAMF - Alternative to Flash Remoting in Java by lamia

It's been a very boring day... While I'm asynchronously learning and reading stuff about AJAX and game development(C/C++), a new project was given to us. This one would include flash remoting. From what I think, it's similar to Java RMI(this is a hypothesis...
Filed under: ,

Single Connection Object - A possible Danger by lamia

Hmmm... I always had a single connection object active for the entire app. After I discovered that only one servlet is instantiated for every servlet class in the application this problem quickly popped in my mind. Actually, this was a worry I just ignored...
Filed under: , ,

Java is not slow on server-side! by lamia

I know I've been in the field for quite sometime now... However, over and over I get to ask myself the question how many servlet instance is created in the container? At first I thought that multiple instances are created for each user and then reused...
Filed under: , ,

java.lang.IllegalStateException: Cannot forward after response has been committed by lamia

I encountered this error while working on the final module of my project earlier. The error was obvious to me though that it occured in one of my included JSP's. <center> <jsp:include page="/WEB-INF/templates/usermenutemplate.jsp"/> </center>...
Filed under: , , ,
More Posts Next page »