Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java EE fast track (Learning Enterprise Java real fast) [closed]

We just started a new project in Java EE in our office and i am required to participate effectively. I mostly work on web applications and I use PHP/MySql but I also know Java SE and have written couple of standalone applications.

I need help and advise on how i can learn Java EE very fast so that I can blend into the project without difficulties. I need help with book & tutorial recommendations and also links to resources.

like image 781
IndexController Avatar asked May 04 '10 05:05

IndexController


2 Answers

This vastly depends on your learning speed. What I do in such cases:

  • read small parts of tutorials in order to obtain a general idea of the technology
  • experiment, and whenever I don't understand something, I return to the tutorial, or google about the problem.

After creating a non-trivial, but still simple application with the technology in question, you can go to the real world. Still, there must be someone more familiar with it, whom you can ask.

For JavaEE I'd suggest the following exercise:

  • create a stateless EJB that starts an EJB timer. The timer has to fire on a configurable in the database period of time
  • the timer should send messages to a JMS Topic
  • the JMS topic should be consumed by a message-driven bean
  • the EJB should be called by a servlet, telling it whether to use the db-configured period of time, or use a default one.
  • the messages to the JMS topic should consist of the IDs of objects stored in the database
  • on receiving the IDs the MDB should increment some number of the object and persist it
  • use JPA for persistence.

Here, you'll have servlets, EJBs - stateless and message-driven, timers, JMS and JPA covered.

Refer to the Sun JavaEE tutorial and google anything you don't understand immediately.

like image 131
Bozho Avatar answered Oct 07 '22 01:10

Bozho


To learn it fast use a IDE to do most of the config for you. netbeans works really well with a number of containers and relieves you from a lot of the config etc...

If you take a look on netbeans.org there are some really good short tutorials just to get you going.

like image 23
Karl Avatar answered Oct 07 '22 00:10

Karl