Java JSON Processing API is not very user-friendly and doesn’t provide features for automatic transformation from JSON to Java object and vice versa. Luckily we have some alternative APIs that we can use for JSON processing. In the last article, we …
Hibernate is an open source object/relational mapping tool for Java. Hibernate lets you develop persistent classes following common Java idiom – including association, inheritance, polymorphism, composition and the Java collections framework. Hibernate not only takes care of the mapping from …
You can remove duplicates or repeated elements from ArrayList in Java by converting ArrayList into HashSet in Java. but before doing that just keep in mind that Set doesn’t preserver insertion order which is guaranteed by List, in fact that’s the main difference between List and …
Building Apache Tomcat from source is very easy, and is the first step to contributing to Tomcat. The complete and comprehensive instructions are provided in the file BUILDING.txt. The following is a quick step by step guide. 1.Install Java. Building Apache …
Hibernate is an object/relational mapping tool for Java environments. What does it mean the term object/relational mapping? simply a technique of mapping a data representation from an object model to a relational data model with a SQL-based schema. Hibernate Installation/Setup on …
Top 10 Mistakes Java Developers Make 1. Convert Array to ArrayList To convert an array to an ArrayList, developers often do this: List<String> list = Arrays.asList(arr); Arrays.asList() will return an ArrayList which is a private static class inside Arrays, it …
You can program in Java. That’s great! But what else can you do with those skills? Are you trapped with Java? Not at all. Here are some other languages, and a brief look at what your Java programming skills will …
Top 10 Most Common Java Mistakes: 1. Neglecting Existing Libraries It’s definitely a mistake for Java Developers to ignore the innumerable amount of libraries written in Java. Many of them have been polished over the years of their existence and are free …
J2EE Standard Tools J2EE Standard Tools will provide plug-ins for the development of J2EE Applications and support development, testing and debugging with a wide range of J2EE servers. The tools for J2EE will include: Server Tooling More than starting a …
The J2EE Specification describes four types of components that can be created by a developer. It interacts with its host environment and other components through the J2EE APIs that are available to it. The application components are: Applet component Applet Components are …