-
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 if there's any way around this problem aside...
-
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 They are: Service Locator - Abstracts JNDI lookup...
-
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 your applications goes idle, the memory that the idle...
-
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 Deepak Kumar public void init(ServletConfig config...
-
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. I have to admit that I am going through a really...
-
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 like it and I'm looking forward to using it...
-
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.
-
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 development in Java. They're as follows - AJAX Technologies...
-
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 few people care about really knowing these greate...
-
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. This is actually for pinoyjug members but Mr...
-
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 here . First, take a look at my code. 1 2 3 4 5...
-
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). Although, I'm not entirely sure because this...
-
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 in the past since I had total control over the...
-
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 over and over again... I was wrong... Only one instace...
-
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> <br/> <br/> <jsp:include...