Browse by Tags

All Tags » J2EE-JEE (RSS)

Should I cache the java.sql.DataSource?

Yes! While trying to brush up and plain Servlets and JSP, I was trying to improve on architecture and I happen to read the MySQL connector/J documentation. I was wondering if I should cache the DataSource or just create a call to JNDI everytime I invoke...
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: , ,

EJB and Java EE Design Patterns

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...
Posted by lamia | with no comments
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: , ,

Appfuse Rocks!

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...
Posted by lamia | 4 comment(s)
Filed under: , ,

CRUD with Netbeans 5.5

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.
Posted by lamia | 4 comment(s)
Filed under: ,

Sun Web Developer Pack

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

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...
Posted by lamia | 2 comment(s)
Filed under: , ,

Seminar on Hibernate, Spring and SCJP

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...
Posted by lamia | 1 comment(s)
Filed under: ,

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

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...
Posted by lamia | 4 comment(s)
Filed under: , ,

OpenAMF - Alternative to Flash Remoting in Java

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...
Posted by lamia | with no comments
Filed under: ,

Single Connection Object - A possible Danger

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...
Posted by lamia | 1 comment(s)
Filed under: , ,

Java is not slow on server-side!

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...
Posted by lamia | with no comments
Filed under: , ,
More Posts Next page »