Category: JAVA

User defined methods in java

User defined methods in java: Functions are called methods in java. Like in C, java programming has similar user defined methods. There are basically four types of user defined methods. They’re: Methods with parameter and with return typeMethods with parameter and without return typeMethods without parameter and with return typeMethods without parameter and without return

Break and Continue Statement in Java

Break and continue statement in java : Like goto statement in c, there is break and continue statement to transfer control in the program. Whenever certain condition matches in the code, you may won’t to transfer your code’s flow to some other parts of the code. In such scenario, we use break and continue statement.

Simple application using Java Collection Framework

Here we are going to develop Simple application using Java Collection Framework. Before you begin with this tutorial, make sure you’ve gone through previous_tutorial. In this tutorial, I’ve built simple console application that demonstrate how you can use collection in your project. When you’re done with this tutorial, you’ll have something like this: Simple application

Java Collections Framework

The Java Collections Framework is a set of classes and interfaces that implement commonly reusable collection data structures. A collection, as its name implied, is simply an object that holds a collection (or a group, a container) of objects. Each item in a collection is called an element. A framework, by definition, is a set of interfaces that force you

Enterprise application with EJB, JPA, JSF and CRUD

In this tutorial, we will learn how to build enterprise application with EJB, JPA, JSF and create EJB CRUD Application. The application also include the use of various richfaces tags, sorting and filtering. Learn  how to build enterprise application. Final Output Your project structure will look like this. Okay,  let’s start with Glassfish configuration. Inside JDBC

Send request with SSL/TLS Certificate

What is an SSL Certificate? SSL stands for Secure Sockets Layer and, in short, it’s the standard technology for keeping an internet connection secure and safeguarding any sensitive data that is being sent between two systems, preventing criminals from reading and modifying any information transferred, including potential personal details. SSL encrypts and ensures the authenticity