Java

A compilation of O'Reilly Media's information about the Java programming language, from news, books, conferences, courses, community, and reports.

Upcoming Conference

Open Source Convention 2009

"Open for Business"
OSCON Conference Join us for the 11th OSCON, happening July 20-24, 2009 in San Jose, CA. Now more than ever, open source technology is the smart choice for navigating uncertain economic waters. Register now!

More Conferences

Java Books

Many of our books are available as Ebook Bundles — your bookshelf on your devices! And don't forget, you can Buy 2 books, get the 3rd FREE! Use discount code: OPC10 See details.

Bestselling


Head First Java Head First Java
by Kathy Sierra, Bert Bates
Second Edition
Print: $44.95
Ebook: $35.99
Bundle: $49.45

Java Web Services: Up and Running Java Web Services: Up and Running
by Martin Kalin
Print: $34.99
Ebook: $27.99
Bundle: $38.49

Java Pocket Guide Java Pocket Guide
by Robert Liguori, Patricia Liguori
Print: $14.99
Ebook: $11.99
Bundle: $16.49

Learning Java Learning Java
by Patrick Niemeyer, Jonathan Knudsen
Third Edition
Print: $44.95
Ebook: $35.99
Bundle: $49.45

Java SOA Cookbook Java SOA Cookbook
by Eben Hewitt
Print: $49.99
Ebook: $39.99
Bundle: $54.99

New


Programming Scala Programming Scala (Pragmatic Bookshelf)
by Venkat Subramaniam
Print: $34.95

Modular Java Modular Java (Pragmatic Bookshelf)
by Craig Walls
Print: $34.95

Java Message Service Java Message Service
by Mark Richards, Richard Monson-Haefel, David A. Chappell
Second Edition
Print: $39.99
Ebook: $31.99
Bundle: $43.99

Programming Clojure Programming Clojure (Pragmatic Bookshelf)
by Stuart Halloway
Print: $32.95

Java SOA Cookbook Java SOA Cookbook
by Eben Hewitt
Print: $49.99
Ebook: $39.99
Bundle: $54.99

Upcoming


Domain-Driven Design Using Naked Objects Domain-Driven Design Using Naked Objects (Pragmatic Bookshelf)
Print: $36.95

More Java Books

Java Online Course

Java Programming Certificate Series

Java Programming Certificate Series The Java Programming Certificate Series, from O'Reilly School of Technology, is comprised of four courses covering beginning to advanced Java programming and object-oriented concepts, as well as skills using the Eclipse open source IDE (Integrated Development Environment). Experience Ellipse, our brand-new Eclipse-based Learning Sandbox. Enroll today!

More Courses

Java Experts

Shashank Tiwari Shashank Tiwari is the Chief Technologist at Saven Technologies, a technology driven business solutions company headquartered in Chicago, IL.

Rich Rosen Rich Rosen has been actively working with Macs for over twenty years, currently using a Mac Mini as his home server, an iMac as the centerpiece of his home recording studio, and a MacBook for live musical performance and writing. Rich has collaborated on Web Application Architecture: Principles, Protocols & Practices and…

Olexiy Prohorenko Olexiy Prohorenko is a Sun Certified Enterprise Architect whose areas of interests include Web software architecture and development of software with frequently changing requirements.

Liza Daly Liza Daly is a software engineer who specializes in applications for the publishing industry. Currently Liza is an independent consultant and the founder of threepress, a platform to produce open source publishing tools. She has been programming interactive fiction since she was nine but no longer recommends Commodore 64 BASIC or the…

More Java Experts

Java News & Commentary

Poll Results: HTML 5, are Flash, Silverlight, and JavaFX in trouble?

By Rich Tretola
June 28, 2009

This poll was one that brought many votes and most of you don't feel that HTML 5 will be making any major impact any time soon. Over 40% of you voted for "I don't think so: HTML 5 doesn't touch...

New Poll: HTML 5, are Flash, Silverlight, and JavaFX in trouble?

By Rich Tretola
June 22, 2009

HTML 5 has been the topic of buzz lately in the Internet/RIA world. With new features like Canvas, offline local storage, etc. many have been suggesting (including a recent article from infoworld) that HTML 5 could steal market share from...

Writing the Pac-Man Game in JavaFX - Part 5

By Haining Henry Zhang
June 12, 2009

In previous articles, we finished writing most of the code of the Pac-Man game. In article 3, we implemented a simple algorithm for the ghosts to catch the Pac-Man. The ghosts randomly decides in which direction they move. They do not chase the Pac-Man even they are very close to him. This makes the game less challenging. In fact, the behavior of the ghosts are the most tricky part of the game. According to Iwatani, the author of the original arcade game, he had designed each ghost with its own distinct personality in order to keep the game from becoming too difficult or boring to play. ( More info) However, there is generally no conclusion on what behavior of the ghosts are good for the players.

Writing the Pac-Man Game in JavaFX - Part 4

By Haining Henry Zhang
June 2, 2009

In the last article, we developed a preliminary version of the Pac-Man game. Four ghosts are randomly roaming the maze and a Pac-Man character can be controlled by a player. Now, we write some more code for the interaction between ghosts and the Pac-Man: Pac-Man eats a ghost after he gobbles a magic dot. A ghost eats the Pac-Man when it touches him.

Writing the Pac-Man Game in JavaFX - Part 3

By Haining Henry Zhang
May 25, 2009

We are now ready to create the ghosts in our game. The four ghosts, namely Blinky(red), Pinky(pink), Inky(cyan) and Clyde(orange), are trapped inside a cage when a game starts. After some time, they get out of the cage one by one and start roaming the maze. Their goal is to catch the Pac-Man. The Pac-Man dies if he is touched by one of the ghosts. If the Pac-Man swallows a magic dot, he has the power to eat ghosts for a while. During this time, the ghosts turn hollow and move more slowly.

Writing the Pac-Man Game in JavaFX - Part 2

By Haining Henry Zhang
May 14, 2009

In last article, we designed a data model and drew a maze with dots spread into the maze. Now we are ready to create the Pac-Man character. The Pac-Man character is controlled by the game player to move around the maze. While he is moving, he keeps gobbling dots along the path. To implement the Pac-Man character, we divide the coding into a few tasks so that we can create it bit by bit:

Writing the Pac-Man Game in JavaFX - Part 1

By Haining Henry Zhang
May 10, 2009

When I was young I was fascinated by arcade games. One of my favorites was the Pac-Man game.  Recently, when I was learning the JavaFX language, I decided to write the game in JavaFX.  Based on my experience in other programming languages, I assumed there would be some amount of work in building a game such as Pac-Man, giving me a good feel for RIA development in JavaFX.

What the Sun/Oracle Combination Means for Java and Open Source

By Timothy M. O'Brien
April 22, 2009

What does the Oracle/Sun merger mean for Java? There's been a lot of speculation and a fair amount of apocalyptic, "sky is falling" Twitter activity, but does anyone really know what Ellison has in store for Java?


More Java News & Commentary

Popular Topics

Browse Books & Videos

News Topics

International Sites

O'Reilly China O'Reilly Germany O'Reilly Japan O'Reilly Taiwan