Best way to learn java

Two questions pls:

I seem to be reading alot of books and web pages to try and learn java. Is that the best way to learn or is it better to be creating alot of applications?

Also, I've learned the basics of the language but with so many different packages in java it seems impossible to learn it all, so for people who work as java programmers:

Whats the most important API's to learn in terms of getting a job? i've not learned any java database stuff (although ive done oracle and database design), or any JSP ( i've done ASP i suppose this is similar), I've also not learned the threads or networking APi's. So which of these should i prioritize learning?

[689 byte] By [Jahvaha] at [2007-11-27 10:33:08]
# 1

> Whats the most important API's to learn in terms of getting a job?

That's impossible to say.

> i've not learned any java database stuff (although ive done oracle and database design),

Learning the JDBC as well as a framework like Hibernate is useful:

http://www.hibernate.org/

> or any JSP ( i've done ASP i suppose this is similar),

If you intend to work on web applications, knowing JSP/servlets as well

as a framework like JSF is useful:

http://java.sun.com/javaee/javaserverfaces/

> I've also not learned the threads or networking APi's.

Understanding threads and issues of multithreading is useful.

> So which of these should i prioritize learning?

Learn the collection framework first:

http://java.sun.com/docs/books/tutorial/collections/index.html

And by learn, I mean read about and write programs, too.

BigDaddyLoveHandlesa at 2007-7-28 18:20:59 > top of Java-index,Java Essentials,New To Java...
# 2

Thanks for the reply.

Jahvaha at 2007-7-28 18:20:59 > top of Java-index,Java Essentials,New To Java...
# 3

> > I've also not learned the threads or networking

> APi's.

> Understanding threads and issues of multithreading is

> useful.

>

and dangerous as most sources will not give you a thorough understanding and those that do assume a deep knowledge of the language as well as a decent undstanding of the fundamentals of threading.

So apart from learning that there are serious issues it's best to leave the enire MT thing to the experts until you have some experience under your belt.

jwentinga at 2007-7-28 18:20:59 > top of Java-index,Java Essentials,New To Java...