Pages

Saturday, February 27, 2021

Java Class

Wednesday, December 21, 2016

java compilation and execution

Java program can be save with an extention .java. It would be the source file which input for the compilation process. After successful of compilation, the class will created.
    Execution process will be run the program which present in the class file.
   Java is a high level programming languague which is user understandable. The language would facilitate to convert the high level to low level languge.

FEATURES:
Java is the platform independent.
Robust
Security

Saturday, October 29, 2016

Servicenow

        servicenow is the cloud based company where web application provide the software as a service to develop the ITIL application.
        Incident, problem and change management.

Wednesday, May 25, 2016

Ionic

Ionic is the frame work use to develop hybrid application for both Android and iOS. It is very user friendly for mobile app developer

Friday, April 29, 2016

Peru vellam

The Teaser of short movie explain about the flood happen in the chennai, Tamil nadu on December 2015. The shooting in progress.



Director : Ramanujam

Actor: Ramanarayana

Camera : Karthikeyan

Music : Remo

Editing : Pannir Selvam




Monday, October 19, 2015

mini version of javascript file


Many javascript file will have two version normal and mini version.

Normal will be understandable where the reader may understand the flow of javascript as per below.

function write()
{
alert("good work fine!!!!!!!!");
}

Some javascript file will be mini version , it would be as

function write()(alert("good work find!!!!!!!!!!");}

Reason behind the release the mini version,

  • find the difference between the normal and mini, it would be enter space will be find in the noraml where as mini will not have
  • because if you use the enter space for every line, it will alocated the character of  \n\r.
  • This character will be take the size of 2kilobyte
  • If you are have 1000 line of code in javascript, then the calcualtion will be

2*1000=2000kb=>2MB.

Let us the consider the user request the website using the noraml version of javascript, unwantedly extra 2mb size of downloading the enter space. It is waste of the data usage for end user.

So, the mini version of any file will be effective and useful of the user's data consumption.

Monday, August 31, 2015

JAXB

It is java in-build function which can help to convert bean to XML and XML to java bean.
It wouldn't expect the external jar for java 1.6 or above.
It is the XML format of parent and child tag.
for example,


<name>siva</name>
<age>age10</age>
<mark>
      <english> 99</english>
       <tamil>88</tamil>
</mark>

JAVAXML to OBJECT:-


try {
            JAXBContext context = JAXBContext.newInstance(Student.class);
            Unmarshaller un = context.createUnmarshaller();
            Student std= (Student) un.unmarshal(new File(FILE_NAME));
            System.out.println(emp);
        } catch (JAXBException e) {
            e.printStackTrace();
        }


OBJECT to JAVAXML:-

 try {
            JAXBContext context = JAXBContext.newInstance(Student.class);
            Marshaller m = context.createMarshaller();
            m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
            m.marshal(emp, new File(FILE_NAME));
        } catch (JAXBException e) {
            e.printStackTrace();
        }