Java Tutorials
31. Program using concept of byte long short and int in java
By: Java Samples : 2017-12-10
Description: This simple java program describes how to use the different data types byte, short, int and long in Java.
32. Providers in J2EE Deployment
By: aathishankaran : 2017-02-22
Description: In JavaEE, a provider is a software component that provides an implementation of a particular API or service. Providers are typically used to extend the functionality of a JavaEE application server, allowing it to support new features or integrate with third-party systems.
33. Update contents of a file within a jar file
By: Naren : 2015-04-24
Description: Recently there was a change of IPs in my servers. Therefore some of the applications stopped working. For example, there was an application that was running as an executable jar file. The access to other resources from that application was using IP Addresses and there was a config file named bcconfig.xml that had all the IP addresses of various resources the application needs to access.
34. Tomcat and httpd configured in port 8080 and 80
By: Emiley J : 2013-07-21
Description: When you install Tomcat in your server, by default it uses port 8080. Typically in a linux system, you can install apache2 or httpd as a web server that handles the default port 80 and then uses mod_proxy to send requests to Tomcat at port 8080 for sites hosted in Tomcat.
35. Java File
By: Emiley J : 2012-11-27
Description: What do you normally do with a File? A file is used to store your documents. Right? In Java, a file is treated as a stream of characters, objects or any primitive data types and saved in a computer file such as myexpenses.txt. Java has a basic package java.io that contains all File related classes to handle file reading, writing and manipulating the contents.
36. Java String
By: Emiley J : 2012-11-27
Description: The literal meaning of the word String means 'something that is twisted together to form a thin length'. The verbr String means 'hang something so that it streches in a long line'. In computer programming languages, String means a datatype that is used to store some characters. A Java String is a stream of characters grouped together serially. An example String is a word "Hello" or a phrase "Hello World".
37. Draw a bar chart in Java
By: Paawan Chaudhary : 2012-09-19
Description: This is a Java program to draw a bar chart for the table given below which shows annual result analysis of a school from period 2001-2005.these values may be placed in a HTML file as param attributes and then used in Applet for dislaying bar-chart.
38. Java program using Method Overriding
By: Paawan Chaudhary : 2012-09-19
Description: This Java program implements Method Overriding for following inheritance : (Assume suitable data )
39. Java program to display numbers from 1 to 10 on Applet
By: Paawan Chaudhary : 2012-09-19
Description: This is a Java program to display numbers from 1 to 10 on Applet such that each number will be displayed after delay of 100ms.
40. Java program to calculate volume of a Box
By: Paawan Chaudhary : 2012-09-19
Description: This is a Java program to Create a user-defined package box which has a class definition. For box having data member and disp()method and calculate volume from a source file.