Java 2 Certification Training Guide by Jamie Jaworski

By Jamie Jaworski

Arrange your self for the 3 Java certification tests - programmer, developer, architect - utilizing thiscomprehensive research advisor

Show description

Read or Download Java 2 Certification Training Guide PDF

Best java books

Java 7 Concurrency Cookbook

Over 60 basic yet exceptionally powerful recipes for gaining knowledge of multithreaded software improvement with Java 7
* grasp all that Java 7 has to provide for concurrent programming
* become familiar with thread administration, the Fork/Join framework, concurrency periods and lots more and plenty extra during this booklet and publication
* a pragmatic Cookbook filled with recipes for attaining crucial Java Concurrency projects

In element

Java continues to be the worldwide ordinary for constructing quite a few purposes and firm software program, and the release of Java 7 brings with it interesting new services for concurrent programming in terms of the concurrency utilities enhancement. this enables builders to utilize their functions with parallel activity functionality. "Java 7 Concurrency Cookbook" covers all components of the Java concurrency API, supplying crucial recipes for profiting from the interesting new capabilities.

On your desktop, you could hearken to song once you edit a observe record and skim your emails, by surprise! this is why your working process permits the concurrency of initiatives, very similar to the Java platform which bargains quite a few periods to execute concurrent projects inside of a Java application. "Java 7 Concurrency Cookbook" covers crucial positive factors of the Java concurrency API, with designated emphasis at the new features of model 7.

With every one model, Java raises the on hand performance to facilitate improvement of concurrent courses. This e-book covers an important and beneficial mechanisms incorporated in model 7 of the Java concurrency API, so that you could be capable of use them without delay on your applications.

"Java 7 Concurrency Cookbook" comprises recipes to provide help to in achieving every thing from the elemental administration of threads and initiatives, to the hot Fork /Join framework, via synchronization mechanisms among initiatives, forms of concurrent initiatives that Java can execute, facts constructions that needs to be utilized in concurrent functions and the sessions of the library that may be customized.

With the step by step examples during this publication you’ll manage to observe crucial and important beneficial properties of the Java 7 concurrency API.

What will you study from this booklet
* grasp the fundamentals of thread administration and synchronization ahead of diving into larger point concurrency projects
* become familiar with intriguing new concurrency positive factors of Java 7, together with the Phaser category and the Fork/Join Framework
* effectively delegate thread administration to executors
* customise the most precious sessions of the Java concurrency API with real-world examples
* discover ways to use high-level Java utilities to control synchronization among threads
* Get a sneak peek at utilizing Eclipse and NetBeans for debugging concurrency code
* steer clear of issues of information inconsistency via studying the knowledge buildings you might want to use in concurrent functions
* make the most of an advantage appendix jam-packed with information that each programmer may still reflect on whilst constructing a concurrent program


"Java 7 Concurrency Cookbook" is a realistic Cookbook filled with real-world suggestions. Intermediate–advanced point Java builders will research from task-based recipes to take advantage of Java’s concurrent API to application thread secure solutions.

Making Java Groovy


Making Java Groovy is a pragmatic guide for builders who are looking to mixture Groovy into their daily paintings with Java. It starts off through introducing the foremost variations among Java and Groovy—and how one can use them for your virtue. Then, it publications you step by step via practical improvement demanding situations, from net functions to internet prone to laptop purposes, and exhibits how Groovy makes them more straightforward to place into production.

About this Book

You don't desire the entire strength of Java whilst you're writing a construct script, an easy process software, or a light-weight internet app—but that's the place Groovy shines brightest. This dependent JVM-based dynamic language extends and simplifies Java so that you can pay attention to the duty to hand rather than dealing with minute information and pointless complexity.

Making Java Groov is a realistic consultant for builders who are looking to reap the benefits of Groovy of their paintings with Java. It begins by way of introducing the most important alterations among Java and Groovy and the way to exploit them in your virtue. Then, you'll specialise in the events you face each day, like eating and developing RESTful internet providers, operating with databases, and utilizing the Spring framework. You'll additionally discover the nice Groovy instruments for construct methods, trying out, and deployment and how to write Groovy-based domain-specific languages that simplify Java development.

Written for builders accustomed to Java. No Groovy adventure required.

Purchase of the print booklet incorporates a unfastened book in PDF, Kindle, and ePub codecs from Manning Publications.

What's Inside
• more straightforward Java
• Closures, developers, and metaprogramming
• Gradle for builds, Spock for trying out
• Groovy frameworks like Grails and Griffon

About the Author

Ken Kousen is an self sufficient advisor and coach focusing on Spring, Hibernate, Groovy, and Grails.

Table of Contents
<ol><h5>PART 1: up to the mark WITH GROOVY</h5> • Why upload Groovy to Java?
• Groovy by means of instance
• Code-level integration
• utilizing Groovy gains in Java
<h5>PART 2: GROOVY TOOLS</h5> • construct procedures
• checking out Groovy and Java initiatives
<h5>PART three: GROOVY within the actual WORLD</h5> • The Spring framework
• Database entry
• RESTful net prone
• development and checking out net applications

Beginning Java Programming: The Object-Oriented Approach

A entire Java advisor, with samples, workouts, case experiences, and step by step instructionBeginning Java Programming: the article orientated strategy is an easy source for purchasing all started with one of many world's so much enduringly well known programming languages. in response to periods taught through the authors, the booklet begins with the fundamentals and steadily builds into extra complex thoughts.

Cocoon 2 Programming: Web Publishing with XML and Java

Due to the tireless efforts of open-source builders, Cocoon has fast received visibility because the preeminent XML-based net publishing framework. regrettably, its documentation is still an important shortcoming. in case you are new to Cocoon, gaining a feeling of precisely what you are able to do with it may be tricky, and truly getting begun might be even more durable.

Additional resources for Java 2 Certification Training Guide

Example text

0; 53. 0; 54. byte b = 1; 55. d1 = d1 / d2; 56. b = (byte) d1; 57. print(b); - 57 - 58. } } A. It results in the throwing of an ArithmeticException. B. It results in the throwing of a DivideByZeroException. C. 5. D. It displays the value -1. 59. 2"? A. 6. B. 6". C. The long value 8. D. 2". 60. What is the result of the following program? 61. class Question { 62. public static void main(String[] args) { 63. int i = 7; 64. int j = 8; 65. int n = (i | j) % (i & j); 66. print(n); 67. } } A. 0 B. 15 C.

If the first operand evaluates to false, the evaluation of the second operand is skipped. 5. The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out. 6. The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but be located in different areas of memory. 7. No, it is not. 8. It is written x ? y : z. 9. Yes, a double value can be cast to a byte. 10. No, an object cannot be cast to a primitive value.

A and D. Package statements must appear as the first non-blank line of a source code file (if they appear at all). If a public class or interface is declared in a source code file, then the source code file must take the name of the public class or interface. 5. B and D. The main() method of answer A is missing an argument. The main() method of answer C is missing the public and static modifiers. 6. B. The String "is" is assigned to args[1]. 7. B and C. Comments use slashes and not backslashes.

Download PDF sample

Rated 4.93 of 5 – based on 16 votes