This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I am working on a self-project on a bank application.
This will my first enterprise application project so i plan to practice proper
ideology while doing it.
I plan to use :-
1) Web currently as the front-end using servlet and jsp (mvc 2 pattern).
2) EJB as the second layer which will reside the business logic layer
and the data access layer with DAO pattern (using simple JDBC).
3) And also a standalone desktop application (using swing) as another front-end in future.
I have MySQL as the back-end for this application.
While I plan to use Stateless Session EJB beans type only and no container managed persistence.
I read about Session Facade pattern but would like to know more with some code examples and plan to use it too.
I plan to use Service-Locator pattern for obtaining resource like DataSource in the dao layer.
However I need some more info about how can i use this so that i can get the business layer from this method.
I am aware of the pet-store application but I would like some more suggestions, tutorials, links or scenarios/code examples too.
I believe i am going in the correct way but please reply with suggestions on how to go further.