Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

Java Quartz Best Practices Example

1. Introduction In this post, we are going to demonstrate best practices for Quartz, a very popular open source job scheduling library that can be used in Java applications. Most of the best practices that we will see have been published by Quartz in this article. The main concept of Quartz is that a scheduler holds a list of jobs ...

Read More »

GWT Components Example

1. Introduction Google Web Toolkit (GWT) allows a developer to enjoy writing code in Java for the frontend but transpiles the code to JavaScript on the frontend so that what the browser sees is optimized JavaScript code.   One of the advantages of using GWT like any other web framework is that it creates the basic UI widgets that can ...

Read More »

Java 11 String Class New Methods Example

In this example, we will discuss the new methods of the String class introduced in Java version 11. 1. Introduction Every Java release comes with some new features.  Many of the features arise from inconsistencies of earlier releases.  Others are due to the ever-changing landscape of technology.  In this article, we will cover the new methods that were added to ...

Read More »

Java String charAt() Method with Example

1. Introduction The java.lang.CharSequence interface provides read-only access to many different kinds of char sequence. It has provided a charAt method since version 1.4 to return the character value at the specified index. java.lang.String class implements java.lang.CharSequence. The string indexes start from zero to the string’s length() minus one. Here is the method syntax: char charAt(int index) Parameters: index – ...

Read More »

Hibernate doReturningWork() method Example

In this tutorial, we will learn Hibernate 4 Returning Work interface and Session.doReturningWork() method for Jdbc. 1. Introduction Object-Relational Mapping or ORM is the programming technique to map application domain model objects to the relational database tables Hibernate is a Java-based ORM tool that provides the framework for mapping application domain objects to the relational database tables and vice versa. ...

Read More »

JAX-WS HTTPS Example

1. Introduction In this example, we will show how to configure HTTPS on a JAX-WS web service and client. Hypertext Transfer Protocol Secure (or HTTPS) is an enhanced version of the HTTP protocol.  It adds a layer of security to connections between a client (for example, a web browser or email client) and a server.  HTTPS uses encryption for protecting ...

Read More »

Hibernate doWork() method Example

In this tutorial, we will learn Hibernate 4 Work interface and Session.doWork() method for Jdbc. 1. Introduction Object-Relational Mapping or ORM is the programming technique to map application domain model objects to the relational database tables Hibernate is a Java-based ORM tool that provides the framework for mapping application domain objects to the relational database tables and vice versa. It ...

Read More »

Java String contains() method with Example

1. Introduction The java.lang.String class represents character strings. It has provided a contains method since version 5 to return true if and only if this string contains the specified sequence of char values. Here is the method syntax: boolean contains(CharSequence s) A CharSequence interface represents a readable sequence of char values. It has five implementation classes: java.nio.CharBuffer, javax.swing.text.Segment, java.lang.String, java.lang.StringBuffer, ...

Read More »

Selenium Library Example

1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end to end testing of an application. This ensures that the application works as designed. Selenium supports various programming languages such as C#, ...

Read More »

Java Decorator Design Pattern Example

1. Introduction to Java Decorator Design Pattern In this article we will discuss Java Decorator design pattern in detail. The decorator design pattern is often used to alter an object’s features at run time. Simultaneously, it would not impact other instances of the very same class, therefore the behaviour of each object is altered. The java Decorator design pattern is ...

Read More »