This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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.