Proxy vs Reverse-proxy

The other day I was asked by a coworker the difference between a proxy and a reverse-proxy. These are 2 types of servers that are largely used in front of an application server. Many companies and schools filter their internal network through proxies. So I made this drawing, I think it should come handy to … Read more

Running 2 JBoss 6.0.0 servers on one machine

Today I wanted to experiment some load balancing with JBoss and Apache. For that I needed to run 2 JBoss servers on one single machine. Server 1 is installed in D:\jboss-6.0.0.20100721-M4-Server1 Server 2 is installed in D:\jboss-6.0.0.20100721-M4-Server2 Of course if you run both servers at the same time, you will get errors such as “address … Read more

My book on EJB 3 is now on sale

I received an email from the editor informing me that the book is now printed and will be available in bookstores next week (from July 5th, 2010). It is already available for sale on Amazon and ENI. An online version is also available. Here is the cover of the book :

DAO design pattern in a session bean ?

I have recently been challenged by a colleague with a .Net background about the way I sometimes use session beans in web applications. Indeed, I like to implement DAOs as session beans. Some people argue that it’s best not to directly implement CRUD methods in session beans. The main reason being that they prefer to … Read more

Design approaches

Here is another memento I wrote to remember the different approaches when writing EJB 3 or Web services. TOP DOWN BOTTOM UP IN THE MIDDLE EJB 3 Develop entity beans first then derive db schema Develop db schema first and drive upwards to create entity beans from your schema Create entity beans and db schema … Read more