• HOME
  • VIDEO
  • COURSES
    • Java Expertise
      • Java SE(Core)
      • Java EE(Advance)
      • Servlet & JSP
      • EJB & Web Services
      • JMS & Java Mail
    • Java Framework Expertise
      • Spring Framework
      • Spring MVC
      • Hibernate Framework
      • Struts/Struts2 Framework
      • JSF
    • Mobile Expertise
      • Android
      • PhoneGap
      • HTML5
      • Bootstrap
    • Training Options
      • MCA Industrial Training
      • Corporate Training
      • Internship Programs
      • Online Training
      • Major and Minor Project Training
      • Project Work (Live Project)
    • PHP Expertise
      • PHP Core
      • PHP Advanced
      • WordPress
      • Drupal
    • Web Designing Expertise
      • HTML
      • JavaScript
      • Jquery
      • AJAX
    • Others
      • MySQL
      • Software Testing
      • XML Technologies
      • Agile Methodology
  • ABOUT
  • INSIGHTS
    • Column 1
      • Testimonials/Reviews
      • Share your feedback
      • Placement
      • Career
      • News & Events
      • Project Topics – reference
      • Site Map
      • Terms and Conditions(Global)
    • Column 2
      • Registration
      • Login
      • Inquiry
      • Please Call or Fill Enquiry Detail Below
      • Video Library – Free
      • Official Website
      • Business Blog
  • BLOG
    • Column 1
      • Java SE
      • Java EE
      • Spring Framework
      • Hibernate
      • Struts
    • Column 2
      • Android
      • Project Work
      • AJAX
      • JQuery
  • CONTACT
A Training Division of eZeon Technosolutions Pvt. Ltd.
Contact
Pay & Registration
EZEON - Training Division | Best For Java | Spring Framework | Spring Boot | Android | Major/Minor Projects | Live Projects | Internship |  Python |  Flutter | artificial intelligence | Bhopal EZEON - Training Division | Best For Java | Spring Framework | Spring Boot | Android | Major/Minor Projects | Live Projects | Internship |  Python |  Flutter | artificial intelligence | Bhopal
  • HOME
  • VIDEO
  • COURSES
    • Java Expertise
      • Java SE(Core)
      • Java EE(Advance)
      • Servlet & JSP
      • EJB & Web Services
      • JMS & Java Mail
    • Java Framework Expertise
      • Spring Framework
      • Spring MVC
      • Hibernate Framework
      • Struts/Struts2 Framework
      • JSF
    • Mobile Expertise
      • Android
      • PhoneGap
      • HTML5
      • Bootstrap
    • Training Options
      • MCA Industrial Training
      • Corporate Training
      • Internship Programs
      • Online Training
      • Major and Minor Project Training
      • Project Work (Live Project)
    • PHP Expertise
      • PHP Core
      • PHP Advanced
      • WordPress
      • Drupal
    • Web Designing Expertise
      • HTML
      • JavaScript
      • Jquery
      • AJAX
    • Others
      • MySQL
      • Software Testing
      • XML Technologies
      • Agile Methodology
  • ABOUT
  • INSIGHTS
    • Column 1
      • Testimonials/Reviews
      • Share your feedback
      • Placement
      • Career
      • News & Events
      • Project Topics – reference
      • Site Map
      • Terms and Conditions(Global)
    • Column 2
      • Registration
      • Login
      • Inquiry
      • Please Call or Fill Enquiry Detail Below
      • Video Library – Free
      • Official Website
      • Business Blog
  • BLOG
    • Column 1
      • Java SE
      • Java EE
      • Spring Framework
      • Hibernate
      • Struts
    • Column 2
      • Android
      • Project Work
      • AJAX
      • JQuery
  • CONTACT

Archive


Category Archive for "Miscellaneous"

1

Accessing System properties in Java(Operating System Feature)

Jan 28, 2013

Java programming language provides various properties support to access the environment details or system details. Below is the program to read all System  Properties.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Reading System properties
public class SystemPropertiesDemo {
 
public static void main(String[] args) {
 
String currentDir=System.getProperty("user.dir");
 
String javaVer=System.getProperty("java.version");
 
String os=System.getProperty("os.name");
 
String osArch=System.getProperty("os.arch");
 
String ioTempDir=System.getProperty("java.io.tmpdir");
 
System.out.println(currentDir);
 
System.out.println(os);
 
System.out.println(osArch);
 
System.out.println(ioTempDir);
 
}
 
}

1
2
3
4
5
6
7
8
9
10
11
12
/* Reading all properties
*/
import java.util.*;
public class SystemAllProps {
public static void main(String[] args) {
Properties props=System.getProperties();
Set keys=props.keySet();
for (Object key : keys) {
System.out.println(key+"--->"+System.getProperty(key.toString()));
}
}
}

2

JVM Heap Size Setting

Jan 28, 2013

Java Program is running in JVM and objects are created inside HEAP area. Some application required more memory to run.  Java allows initializing the size of JVM as per the requirement. Sometime OutOfMemoryError is occurred in application due to insufficient memory available in heap. To solve this problem we can change/increase the JVM heap size […]

3

Logging using Apache Log4J API

Jan 21, 2013

A Java logging framework is a computer data logging package for the Java platform. In software, logging refers to the recording of activity. Logging is a common issue for development teams. Several frameworks ease and standardize the process of logging for the Java platform. Before we start cutting some code, let’s look at the basics […]


Recent Posts

  • Spring Framework and Hibernate Workshop
  • Free Training Video Session by EZEON
  • 10 Great Benefits to Choose Spring Web MVC Framework
  • Spring Web MVC Framework Tutorial – Best from Experts
  • MySQL Queries for Beginner – Quick Start

Categories

  • AJAX
  • Android
  • Cloud Computing
  • Database
  • Hibernate
  • HTML
  • Interview Questions
  • Java EE
  • Java SE
  • JavaScript
  • JQuery
  • JSP
  • Miscellaneous
  • Project Work
  • Servlet
  • Spring Framework
  • Spring Workshop
  • Struts
  • Video Library
  • Web Services
Learn from the Experts and Experience Best Practices of Software Industry

Please write us today

Get In Touch
EZEON is a Software Development Company wish to share our Experience with Students, Developers and Companies to help them in adopting best practices. Its our small contribution towards skill development initiative

© 2023 - eZeon Technosolutions Pvt. Ltd.

  • Home
  • About
  • Courses
  • Blog
  • Site Map
  • Terms & Conditions