Based on what I explained I had been talking about a 3-tier EJB application, not a part of client/server application that refers to the persist layer or an ORM. Could you please tell me how to learn to fetch a detail in a lazy way in client side of a 3-tier application which there is no effect of an ORM like hibernate in it.