Java 7 Recipes offers solutions to common programming problems encountered every day while developing Java-based applications. Fully updated with the newest features and techniques available, Java 7 Recipes provides code examples involving Servlets, Java FX 2.0, XML, Java Swing, and much more. Content is presented in the popular problem-solution format: Look up the programming problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved!
The problem-solution approach sets Java 7 Recipes apart from other books on the topic. Java 7 Recipes is focused less on the language itself and more on what you can do with it that is useful. The book respects your time by always focusing on a task that you might want to perform using the language. Solutions come first. Explanations come later. You are free to crib from the book and apply the code examples directly to your own projects.
- Covers all-new release of Java: Java 7
- Focuses especially on up-and-coming technologies such as Java FX 2.0
- Respects your time by focusing on practical solutions you can implement in your own code
What you’ll learn
- Develop Java SE applications using the latest in Java SE technology
- Create great-looking user interfaces with Java Swing and Java FX 2.0
- Build web-based applications around Java Servlet technology
- Generate graphics and work with media such as sound and video
- Implement web services and applications to invoke them
- Exploit the power of XML from within your Java applications
Who this book is for
This book is for experienced Java programmers new to Java 7 and those with some experience with Java 7.
Table of Contents
- Getting Started with Java 7
- Numbers and Dates
- Data Structures, Conditionals, and Iteration
- Input and Output
- Exceptions, Logging, and Debugging
- Object Oriented Java
- Debugging and Unit Testing
- Unicode, Internationalization, and Currency Codes
- Working with Databases (JDBC)
- Java 2D Graphics and Media
- Java 3D
- Swing API
- JavaFX Fundamentals
- Graphics with JavaFX
- Media with JavaFX
- Working with Servlets
- JavaFX on the Web
- XML and Web Services
About the Author
Carl P. Dea is a software engineer working for BCT LLC on projects with high performance computing (HPC) architectures. He has been developing software for 15 years with many clients, from Fortune 500 companies to nonprofit organizations. He has written software ranging from mission-critical applications to Web applications. Carl has been using Java since the very beginning and is a JavaFX enthusiast dating back to when JavaFX used to be called F3. He has been involved with open-source projects such as JFXtras and JDIC.
Carl’s passion for software development started when his middle school science teacher showed him the TRS-80 computer. His current software development interests are: rich client platforms (RCP), rich Internet applications (RIAs), Groovy, game programming, Arduino, mobile phones, and tablet computers. When he's not working, Carl and his wife love to watch their daughters perform at gymnastics meets. Carl lives on the East Coast in Pasadena (aka "The Dena"), Maryland. You can follow him on Twitter @carldea, and on LinkedIn at www.linkedin.com/in/carldea. Carl also blogs at carlfx.wordpress.com.
Freddy Guime is the Director of Client Technology at OptionsCity Software, Inc. in Downtown Chicago. As one of the first employees, Freddy has advanced the Options Trading Client platform by pushing Java Swing to its limits. With two JavaOne presentations under his belt, he has been instrumental in making sure OptionsCity software can keep up with more than five thousand exchange messages per-second in real-time. Also a usability guru, Freddy understands and bridges the concepts of high-throughput with usability within OptionsCity's software. Freddy is currently working in many projects, but occasionally posts within the OptionsCity blog: http://www.optionscity.com/blog.
John O'Conner is a husband, father, and sleep-deprived technology enthusiast. Currently the Globalization Architect at Adobe Systems, John utilizes a variety of technologies, strategies, and best practices to ensure that Adobe's Creative Media and Marketing products meet the demands of a global customer base. He began his Java career at Sun Microsystems in 1997 and helped develop the internationalization and Unicode support libraries of the core Java SE platform. The common thread running through his career is his interest in creating globalized, world-ready software platforms. He frequently writes about Java and internationalization topics on his blog at joconner.com. You can also follow him on Twitter as @jsoconner.