The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming

By Benjamin J Evans


The Well-Grounded Java Developer bargains a clean and functional examine new Java 7 good points, new JVM languages, and the array of assisting applied sciences you wish for the following iteration of Java-based software.

About the Book

The Well-Grounded Java Developer starts off with thorough assurance of Java 7 gains like try-with-resources and NIO.2. you are going to then discover a cross-section of rising JVM-based languages, together with Groovy, Scala, and Clojure. you'll find transparent examples which are functional and that assist you dig into dozens of helpful improvement suggestions showcasing sleek techniques to the dev method, concurrency, functionality, and masses more.

Written for readers conversant in Java. No adventure with Java 7 or new JVM languages required.

buy of the print e-book comes with a proposal of a unfastened PDF, ePub, and Kindle publication from Manning. additionally to be had is all code from the e-book.

What's Inside

  • New Java 7 features
  • Tutorials on Groovy, Scala, and Clojure
  • Discovering multicore processing and concurrency
  • Functional programming with new JVM languages
  • Modern methods to checking out, construct, and CI

Table of Contents

    PART 1 constructing WITH JAVA 7
  1. Introducing Java 7
  2. New I/O
  3. PART 2 very important TECHNIQUES
  4. Dependency Injection
  5. Modern concurrency
  6. Class documents and bytecode
  7. Understanding functionality tuning
  9. Alternative JVM languages
  10. Groovy: Java's dynamic friend
  11. Scala: robust and concise
  12. Clojure: more secure programming
  14. Test-driven development
  15. Build and non-stop integration
  16. Rapid internet development
  17. Staying well-grounded

Show description

Preview of The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming PDF

Similar Computers books

The Gamification Revolution: How Leaders Leverage Game Mechanics to Crush the Competition

THE REVOLUTION may be GAMIFIED grasp THE GAMIFIED options that might remodel YOUR BUSINESS--OR BE LEFT at the back of Gamification: it is the preferred new approach in company, and for stable reason--it's supporting top businesses create extraordinary engagement with consumers and staff. Gamification makes use of the most recent suggestions from video game layout, loyalty courses, and behavioral economics that can assist you lower during the noise and remodel your company right into a lean, suggest computer able to struggle the conflict for consumer awareness and loyalty.

HTML: A Beginner's Guide (5th Edition)

Crucial HTML skills—made easy!

Thoroughly up-to-date and revised, HTML: A rookies consultant, 5th version exhibits you, step-by-step, find out how to create dynamic web content with HTML. The ebook covers new HTML5 positive factors, together with video, audio, and canvas components. how one can constitution a web page, position photographs, structure textual content, create hyperlinks, upload colour, paintings with multimedia, and use types. You'll additionally transcend the fundamentals and how you can paintings with Cascading kind Sheets (CSS), create dynamic websites with JavaScript, add your web site to the internet, and code HTML emails. by way of the tip of the ebook you'll be capable to construct customized web content utilizing the most recent HTML techniques.

Chapters include:
• Key talents & Concepts—Chapter-opening lists of particular abilities lined within the chapter
• Ask the Expert—Q & A sections packed with bonus info and valuable tips
• attempt This—Hands-on routines that help you observe your skills
• Notes—Extra info with regards to the subject being covered
• Tips—Helpful reminders or trade methods of doing things
• Self-Tests—End-of-chapter reports to check your knowledge
• Annotated syntax—Example code with remark that describes the programming innovations being illustrated

The Guru's Guide to Transact-SQL

On the grounds that its creation over a decade in the past, the Microsoft SQL Server question language, Transact-SQL, has turn into more and more well known and extra robust. the present model activities such complicated beneficial properties as OLE Automation aid, cross-platform querying amenities, and full-text seek administration. This publication is the consummate advisor to Microsoft Transact-SQL.

Good Faith Collaboration: The Culture of Wikipedia (History and Foundations of Information Science)

Wikipedia, the web encyclopedia, is equipped via a community--a neighborhood of Wikipedians who're anticipated to "assume solid religion" while interacting with each other. In solid religion Collaboration, Joseph Reagle examines this targeted collaborative tradition. Wikipedia, says Reagle, isn't the first attempt to create a freely shared, common encyclopedia; its early twentieth-century ancestors contain Paul Otlet's common Repository and H.

Extra resources for The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming

Show sample text content

12. directory 2. eleven NetworkChannel strategies test { NetworkInterface networkInterface = NetworkInterface. getByName("net1"); DatagramChannel dc = DatagramChannel. open(StandardProtocolFamily. INET); dc. setOption(StandardSocketOptions. SO_REUSEADDR, true); dc. bind(new InetSocketAddress(8080)); dc. setOption(StandardSocketOptions. IP_MULTICAST_IF, networkInterface); choose community interface Open DatagramChannel Set channel to multicast 50 bankruptcy 2 New I/O InetAddress staff = InetAddress. getByName("180. ninety. four. 12"); MembershipKey key = dc. join(group, networkInterface); sign up for multicast staff } trap (IOException e) { procedure. out. println(e. getMessage()); } That completes our preliminary research of the hot NIO. 2 APIs; we are hoping you’ve loved the whirlwind travel! 2. 7 precis and software program I/O is advancing swiftly, and Java 7 is well-placed to take greatest benefit of the hot functions with the hot APIs brought as a part of NIO. 2. the recent libraries in Java 7 let you manage destinations (Path) and practice operations at the filesystem, comparable to manipulating documents, directories, symbolic hyperlinks, and extra. specifically, navigating via filesystems with complete help for platformspecific habit is now a breeze, and big listing constructions can now be handled. NIO. 2 has been occupied with providing you with one-stop tools for acting initiatives that may usually have taken quite a lot of code to unravel. specifically, the hot records software classification is stuffed with helper tools that make writing dossier I/O code tons speedier and easier than the previous java. io. dossier dependent I/O. Asynchronous I/O is a robust new function for facing huge records with no greatly lowering functionality. It’s additionally precious for purposes that experience heavy site visitors on their community sockets and channels. NIO. 2 additionally eats Java 7’s personal pet food, with gains from venture Coin (chapter 1) retrofitted to it. This makes facing I/O a lot more secure in Java 7 than formerly, in addition to permitting you to write down much less verbose code. Now it’s time to step up a equipment and problem the mind muscle mass with a glance at a few complicated smooth Java partially 2 of this booklet, together with dependency injection, glossy concurrency, and tuning a Java-based software program procedure. we advise you seize a espresso on your favourite Duke mug,10 and bounce in while you’re prepared! 10 We pointed out it previous, yet didn’t clarify: Duke is Java’s mascot! http://kenai. com/projects/duke/pages/ domestic Part 2 very important thoughts T his a part of the e-book (chapters three to six) is all approximately exploring very important programming wisdom and methods with Java. We’ll commence with a bankruptcy on Dependency Injection, a typical process used to decouple code and bring up testability and comprehension. in addition to explaining the fundamentals of Dependency Injection, we’ll additionally conceal the way it developed and speak about how a top perform changed into a layout trend and from there right into a framework (and even a Java standard). subsequent, we’ll familiarize yourself with the multicore CPU revolution happening in undefined.

Download PDF sample

Rated 4.71 of 5 – based on 11 votes