Create Wind Chart Using JFreeChart
Create Wind Chart Using JFreeChart explains about creating a simple wind chart using JFreechart API
How To Create Wind Chart Using JFreeChart library?
JFreeChart is a free and open source java chart library used for creating professional quality charts. JFreeChart is purely written in java language, we can very easily incorporate JFreeChart in our java standalone and web applications.
Create Bubble Chart Using JFreeChart
Create Bubble Chart Using JFreeChart explains about creating a simple bubble chart using JFreechart API
A bubble chart or bubble graph is a type of chart that displays three dimensions of data. Each entity with its triplet (v1, v2, v3) of associated data is plotted as a disk that expresses two of the vi values through the disk's xy location and the third through its size. Bubble charts can facilitate the understanding of social, economical, medical, and other scientific relationships.
Reference -> http://en.wikipedia.org/wiki/Bubble_chart
How To Create Bubble Chart Using JFreeChart library?
Detect Device Type In Java Web Application
Detect Device Type In Java Web Application explain about identifying the device type such as desktop, tablet or mobile of client by accessing your Website.
For example, in your project you need to show 2 different versions of website. One is for mobile viewers and another for desktop viewers. For this you need to identify whether the request coming form a Mobile device. After detecting device type using user-agents string from HttpServletRequest. you can forward to different urls.
How to identify whether a user request is coming from Mobile/Tablet/Desktop?
For identifying the device type (whether the request is coming from mobile, tablet or desktop), you need to parse User-Agents string in your java web application, It is server side device detection.
We have following 3 approaches to detect the device types by parsing User-Agents.
1) By Using UADetector
2) By Using user-agent-utils
3) By Using Spring Framework
Create Polar Chart Using JFreeChart
Create Polar Chart Using JFreeChart explains about creating a simple polar chart using JFreechart API
A polar chart or polar graph is a circular graph on which data points are displayed using the angle, and the distance from the center point. The X axis is located on the boundaries of the circle and the Y axis connects the center of the circle with the X axis.
Reference -> https://msdn.microsoft.com/en-us/library/dd456623%28v=vs.140%29.aspx
How To Create Polar Chart Using JFreeChart library?
How To Detect Device Type Using Spring
Detect Device Type Using Spring explaining about identifying the device type of a client (such as desktop, tablet or mobile) accessing your Website by using spring framework.
How to identify using Spring whether a user request is coming from Mobile/Tablet/Desktop?
For example, in your project you need to show 2 different versions of website. One is for mobile viewers and another for desktop viewers. For this you need to identify whether the request coming form a Mobile device. After detecting device type by scanning user-agents string from java HttpServletRequest. you can forward to different urls.
In our application also, we need to have this feature. Fortunately in our application using spring as dependency. By adding spring-mobile-device-1.0.1.RELEASE.jar, we could able to achieve what we want
Detect user is from Mobile/Tablet/Desktop Using Spring Framework?
In this example we are identifying the device type such as desktop, tablet or mobile of client accessing your Website.
EclipseLink JPA With H2 Database
EclipseLink JPA With H2 Database explains step by step details of setting / configuring Java Persistence JPA With EclipseLink And H2
How To Configure EclipseLink JPA With H2?
Java Persistence API, is a standard interface which wraps different ORM tools such as EclipseLink, Hibernate, OpenJPA etc.
ie; you can able to change Hibernate implementation to EclipseLink implementation without changing the code base.
On this standalone JPA Example, we are using Java Persistence With H2 Database
EclipseLink is popular open source ORM (Object Relation Mapping) tool for Java platform, for mapping an entity to a traditional relational like Oracle, MySQL, SQL Server, PostgreSQL, DB2, Derby, Sybase, H2 etc
Hibernate JPA With H2 Database
Hibernate JPA With H2 Database explains step by step details of setting / configuring Java Persistence JPA With Hibernate And H2
How To Configure Hibernate JPA With H2?
Java Persistence API, is a standard interface which wraps different ORM tools such as Hibernate, EclipseLink, OpenJPA etc.
ie; you can able to change Hibernate implementation to EclipseLink implementation without changing the code base.
On this standalone JPA Example, we are using Java Persistence With H2 Database
Hibernate is popular open source ORM (Object Relation Mapping) tool for Java platform, for mapping an entity to a traditional relational like Oracle, MySQL, SQL Server, PostgreSQL, DB2, Derby, Sybase, H2 etc
I am going to reuse JPA Tutorial With Hibernate
Java Batch Update Example With SQL Statement & PreparedStatement
In this example, we are showing how to use Java Batch Update Example With SQL Statement & PreparedStatement
In batch update, update happens on the database as batches, which will increase the processing speed and performance. We can use batch updates for both JDBC Statement & PreparedStatement. You can see the JDBC examples for both Statement & PreparedStatement below.
In this tutorial, we are using H2 database and inserting some data using Java Batch Update