I was wondering where I can find a web tutorial or book to show me how to set up a Java web App J2EE from scratch? Which starts from showing you what you need to install and how, To getting a server up and a Hello world on the browser?
I would rather not to use a framework such as spring or grails because I want to understand how it actually works at a Java level.
I have been using RoR for the last 2 years and I got a job as a trainee Java developer and would just like to get a better idea of how everything works, the architecture etc.
Many thanks.
You are trying to understand at Java Level? Well you need to know many things before: If you want to learn J2EE specification try the JavaEE Sun (Nows Oracle) Tutorial. It is a large one, but it is perfect if you want to know the JavaEE specification. You don't want to learn Spring yet, but Spring is just a framework to replace the normal JavaEE provided by Oracle.
But like JB Nizet said. There are a lot of APIs. JSP - Java Server Pages for the web layer. EJB - A solution for the business layer. JNDI - A directory tree to put and search for objects. JDBC - This is an important one, With JDBC you can interact with database. JMS - You can send messages to other java applications in a async way. This is a really good designed API. JTA - An api to manage transactions. JPA - It is an ORM, Hibernate follows this API.
Try to learn design patterns to. They are very useful and important.
The best thing to do is to get Maven installed in your development machine, get the m2e Maven plugin installed in your eclipse, create a new Maven project, search for a jboss javaEE 6 archetype (one that deploys to a jboss as) or an appfuse archetype (they have ready made archetypes that deploy well to many application servers or servlet containers using Cargo plugin).
This will see you through for a long time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With