Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Browsing latest articles
Browse All 505 View Live

Java RMI Architecture

The architecture is very simple involving a client program, a server program, a stub and skeleton. In RMI, the client and server do not communicate directly; instead communicates through stub and...

View Article


RMI Application Step by Step Programs Explanation

RMI Application Coding A typical RMI application includes four programs. Remote interface: Write an interface that should extend an interface called Remote from java.rmi package. Implementation...

View Article


RMI Simple Application with Database Access

Before this program, it is advised to read the previous simple application InterestCalculation where the basic notes and guidelines are given. This application adds extra features to the previous...

View Article

View All RMI

1. Java RMI Tutorial for Beginners 2. Java RMI Architecture 3. RMI Application Step by Step Programs Explanation 4. RMI Stepwise Compilation Execution Distribution 5. RMI Simple Application with...

View Article

Color scheme

Collections All Methods – At a Glance Reversing elements with reverse() How many times element occurs with frequency() Replacing elements with replaceAll() Finding Min and Max values with min() and...

View Article


Interview Questions for Freshers

OOPS Concepts What are local and global variables? A variable declared inside a method is known as “local variable” and its usage is limited within the method in which it declared only. A global...

View Article

Java Font Example

Java AWT supports graphics drawing in colors and fonts. To support colors and fonts, the Java.awt package come with two classes – class Color and class Font. Java Font Example to create font objects...

View Article

New Line BufferedWriter Java

New Line BufferedWriter Java uses newLine() method to give new line in the destination file. Example given. But before going into example and explanation, let us see what DataOutputStream will do with...

View Article


Set 1

1.   compareTo(Object) belongs to which class? 1.  Collections 2.  Comparator 3.  Comparable 4.  Arrays 2. singletonList(Object) method is defined in? 1.  class ArrayList 2.  interface List 3....

View Article


Set 2

1. Following snippet of code [crayon-5dd803c4692cb061446382/] 1. raises compilation error 2. compiles but throws exception 3. compiles, executes and prints all the elements 4. last element is not...

View Article
Browsing latest articles
Browse All 505 View Live