What is the difference between DAO and Repository patterns?

What is the difference between Data Access Objects (DAO) and Repository patterns? I am developing an application using Enterprise Java Beans (EJB3), Hibernate ORM as infrastructure, and Domain-Driven Design (DDD) and Test-Driven Development (TDD) as design techniques. 12 s 12 DAO is an abstraction of data persistence. Repository is an abstraction of a collection of … Read more

javax.naming.NameNotFoundException

I am getting the error (…) javax.naming.NameNotFoundException: greetJndi not bound This means that nothing is bound to the jndi name greetJndi, very likely because of a deployment problem given the incredibly low quality of this tutorial (check the server logs). I’ll come back on this. Is there any specific directory structure to deploy in JBoss? The internal structure … Read more