Showing posts with label Java on Server Side. Show all posts
Showing posts with label Java on Server Side. Show all posts

Tuesday, September 12, 2017

First program in java

 First Program

First program in java

First program in java
First program in java
       Now that the basic object-oriented underpinning of Java has been discussed, let’s look at some actual Java programs. Let’s start by compiling and running the short sample program shown here. As you will see, this involves a little more work than you might imagine.
you should have IDE mean NetBeans or eclipse with compiler.
copy the code in to the java empty file in IDE and click Run the program


/* This is a simple Java program. Call this file "Example.java". */
class Example {
// Your program begins with a call to main().
public static void main(String args[])
{
System.out.println("This is a simple Java program.");
}
}

Java on Server Side

Java on Server Side

       Java on the Server Side As useful as applets can be, they are just one half of the client/server equation. Not long after the initial release of Java, it became obvious that Java would also be useful on the server side. The result was the servlet. A servlet is a small program that executes on the server. Just as applets dynamically extend the functionality of a web browser, servlets dynamically extend the functionality of a web server. Thus, with the advent of the servlet, Java spanned both sides of the client/server connection.
In simple word
Java on Server Side
Java on Server Side

Popular Posts

Contact Form

Name

Email *

Message *