Java is pretty big. I donβt know what problems you solved with C ++, but I would suggest you split Java into these lines:
Java SE is the main language. It includes the Swing UI and JDBC classes, so it would be useful to write desktop applications if that is what you used for C ++.
Java EE is built on top of Java SE. It has many "corporate" features, including Java, EJB server pages, messaging, etc. To create distributed, transactional, multi-user applications.
If you want to write desktop applications, I would recommend focusing on Swing and JDBC. All you need is JDK 6 and possibly the relational database of your choice.
If you want to write web applications, I would suggest JSPs written using JSTL and JDBC using a servlet / JSP mechanism such as Tomcat.
You can go a long way with these technologies. As you become more comfortable, expand the circle.
source share