Home Tutorialhelp Comment i understand,but canu explain each line of this co

 
 

Comment

shivaji
i understand,but canu explain each line of this co,
February 28, 2007 at 12:05 PM

i understand,but canu explain each line of this code .


InitialContext ctx = new InitialContext();
Object objref = ctx.lookup("ejb/test/MyTestSessionBean");
testSessionBean = (MyTestSessionHome)PortableRemoteObject.narrow(objref, MyTestSessionHome.class);

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Interview Questions

JBoss Unix and Line Separator
JBoss Unix and Line Separator  Hi, I am trying to solve an critical... the run.conf script from jboss I added the parameter -Dline.separator=separator I used \r\n, \015\012 , \0d\0a but none solve my problem, Jboss just understand \r 

Java Tips and Examples

Java Read File Line by Line - Java Tutorial
to process one line of data in each iteration. Such example is useful if you have... Java Read File Line by Line - Example code of reading the text file in Java one line at a time      

Struts Questions

Struts - Jboss - I-Report - Struts
Struts - Jboss - I-Report  Hi i am a beginner in Java programming and in my application i wanted to generate a report (based on database) using Struts, Jboss , I Report 

Java Beginners

Line From code
Line From code  document.getElementById("demo").innerHTML=Date(); Please explain each and every word in this line 

Hibernate Questions

Explain factories design?
Explain factories design?  Hi, I can't understand the concept of factories design, if you can explain it to me in simple words, i would be grateful. Thanks..   Hello, Factory Method is a creational pattern 

Java Beginners

Count instances of each word
Count instances of each word  I am working on a Java Project that reads a text file from the command line and outputs an alphabetical listing..., but it displays duplicate listings of the words and they are not in the correct order. I 

Java Beginners

plsz i want the coding details of line
plsz i want the coding details of line  package vc.api; import...(BufferedImage picture) { int i,j,min=128,max=128,value=0,col; for (i=0;i<picture.getHeight();i++){ for (j=0;j<picture.getWidth();j 

Java Beginners

plsz i want the coding details of line
plsz i want the coding details of line  package vc.api; import...(BufferedImage picture) { int i,j,min=128,max=128,value=0,col; for (i=0;i<picture.getHeight();i++){ for (j=0;j<picture.getWidth();j 

Java Beginners

please explain this prog
please explain this prog  import java.io.*; class Studar{ public... int marks[]=new int[n]; int tot=0; for(int i=0;i<n;i++){ System.out.println("enter marks:\n"); marks[i]=Integer.parseInt(br.readLine()); } for(int i=0 

Java Beginners

program on helloworld :explain
}   Class is the building block in Java, each and every methods &.... The above line calls the println method of System.out class. The keyword static 

Java Beginners

program on helloworld :explain
is the building block in Java, each and every methods & variable exists within..."); prints the "hi" on the console. The above line calls the println method 

EJB Questions

how to install jboss - EJB
how to install jboss  when i installed jboss at startup jboss generating errors . unable to run ejb3 

Java Beginners

about jboss - Java Beginners
about jboss  can you please explain about jboss...how to deploy,where the temp and lock is there...total information about jboss to use in java message services(JMS 

JSP Servlet Questions

Dynamic Line draw in JSp
Dynamic Line draw in JSp  In my application. I have one source... multiple target. And each line should have dynamically link of other jsp page. Please, I have tried it. But not geeting any solution. Thanks in advance 

Java Technology Tutorials

How to read a file line by line?
What is the benefit of reading a file file line by line? If you are developing... is to be developed. The best solution is to read the file one line a time and then process the data in the line. Reading a file one line at a time or simply 

Java-Tutorials

How to read big file line by line in java?
Learn how to write a program in java for reading big text file line by line In this tutorial I will explain you how you can read big file line by line... is very useful in reading big file line by line in Java. In this tutorial we 

Struts Questions

Unable to understand Struts - Struts
Unable to understand Struts  I am studying in GNIIT from NIIT. Here in 4th sem we have stuts also but I am not able to understand it. I've made an application.That application is of book entry. I have made the application 

General

Placing components on each other - Java Tutorials
on each other Two weeks ago, I was presenting my course Design Patterns...Placing components on each other 2002-02-15 The Java Specialists' Newsletter [Issue 041] - Placing components on each other Author: Dr. Heinz M. Kabutz 

Hibernate Questions

Difficult to understand - Hibernate
so...Please give the entire description because i am beginner.How they work 

General

Compiling and Running Java program from command line
; message on the console. I have chosen this simple program just to explain you...Compiling and Running Java program from command line - Video tutorial... prompt on windows computer. In this tutorial I will teach you the process 

Application Servers

Jboss 3.2 EJB Examples
Jboss 3.2 EJB Examples    ... be required by different customers Part 1 Stateless session bean jboss 3.2... the Open-source & free Jboss. Jboss3.2 is favoured by many medium-level 

General

Building Web Application With Ant and Deploying on Jboss 3.0
Building Web Application With Ant and Deploying on Jboss 3.0       In this lesson I will show you how to build you web application and install on the Jboss 3.0 

Tutorials

iPhone for each loop in Objective c
it with a small "for each loop in objective c " example. I have...iPhone For each loop in Objective c In general, for each loop is used to access each objects from the collection of objects. We can also say that it iterates 

Java Beginners

explain this method
explain this method   i hope any one can explain this method...;amp; m == 1){ day of month++;} for (int i = 0; i &lt; lead_spaces; i++) { System.out.print 

WebSevices Questions

Jboss related linkage error
Jboss related linkage error  Please check below error when i run in jboss java.lang.LinkageError: loader constraint violation in interface itable... loader (instance of org/jboss/classloader/spi/base/BaseClassLoader 

JSP Servlet Questions

JBoss and Sevlet - JSP-Servlet
JBoss and Sevlet  I am trying to get familar with JBoss. I package up a file, gg.war, as follows: (note, the same directory structure I have running... IsItWorking /gg/servlets I have JBoss installed and put my gg.war into G 

Java Beginners

plz explain me the output of program - Java Beginners
plz explain me the output of program  Hi friends, can u please explain me the output of below program with proper explanation of each and every line. class ThisDemo { int a,b,c; void show(int a,int b,int c) { this.a 

JSP Servlet Questions

how can i deploy web application on application server(weblogic,jboss)
how can i deploy web application on application server(weblogic,jboss)  I have develop wab application(jsp,servlet)and i can deploy my web application on tomcat easily but i want to deploy on application server(weblogic,jboss 

Java Interview Questions

Please write code for this program in java and Explain it ? pl'sssssssss
Please write code for this program in java and Explain it ? pl'sssssssss  Question: We are given an array of 2n integers wherein each pair...;  wow i got also same program. ok leave it. in this program they are passing 

Java Beginners

Explain about threads:how to start program in threads?
Explain about threads:how to start program in threads?  import...() { for(int i=1;i<=26;i++) { System.out.println((char)i); } } public void run() { print 

Struts Questions

Connecting jboss with sql 2005 - Struts
Connecting jboss with sql 2005  Hai, i have project that was developed in struts,backed is sqlserver 2005 and and i am using jboss. I want to connect another database (sqlserver 2005) with my project.could u please help me 

Java Beginners

line graph
line graph  I have developed an application and in that i have to compare 2 reports using line graph from the data taken from ms access database?please help 

Java Beginners

Draw Line
Draw Line  sir i want to draw a moving line in j2me.That line should also show arrow in moving direction. How can we do so 

Log4J Questions

Invalid console appender in JBoss console
Invalid console appender in JBoss console  "ERROR: invalid console appender config detected, console stream is looping" The above is the error i am getting while starting the server after deploying the ear file into the jboss. I 

Java Interview Questions

What are the level in Jboss 5 application server to deploy the application
What are the level in Jboss 5 application server to deploy the application  What are the level in Jboss 5 application server to deploy... API - Image i/o api for reading and writing images in formats like jpeg and png 

JSP Servlet Questions

Adding button to each row for the table and adding row to another table
Adding button to each row for the table and adding row to another table  Hi I need to add button to each line in the table(Table data is retrived form database) and need to add that column data which we click in the specified 

Mobile Applications Questions

objective c read file line by line
objective c read file line by line  Please explain how to read files in Objective C line by line 

JSP Servlet Questions

How to add a column with checkboxes for each record in my table in JSP
How to add a column with checkboxes for each record in my table in JSP   Hi, Could you please explain it to me how I can add a column with check boxes for each record in my table in JSP? Also, I want to figure out a way 

Core Java

Command line argument in java
line display it each line by itself , This is because space separate...Command line argument in java. In this section we are going to discuss about command line argument in java. Command line argument allow a user to pass 

Java-Tutorials

Command Line Arguments in Java
Command Line Arguments in Java The ongoing Java application can accept any number of arguments from the command line but it is command line argument, which...-line argument is an argument, which passed at the time of running of the Java 

Java Beginners

Explain Linked List
Explain Linked List   hello, What is Linked List ?   hello, Linked List is one of the fundamental data structures. It consists of a sequence of nodes, each containing arbitrary data fields pointing to the next 

Struts Questions

Explain struts.jar file - Struts
Explain struts.jar file   Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain 

Hibernate Questions

Please explain Hibernate Sessionfactory.
Please explain Hibernate Sessionfactory.  Hi there, Please explain Hibernate session factory in detail. I have just started learning hibernate so i..., the tutorials here will help you learn Hibernate and will explain about hibernate 

Hibernate Questions

Explain Hibernate Relationships with example.
Explain Hibernate Relationships with example.  Hello, Please explain various hibernate relationships. And if you can provide some examples.... Here is the link of Hibernate Relationships with examples Also I hope 

Java Beginners

can you explain ?
can you explain ?  my dear can you teel me the explaintion for this code i need it GregorianCalendar cal = new GregorianCalendar(y, m, 0... == 1){ day of month++;} for (int i = 0; i &lt; lead_spaces; i 

Java Beginners

for each
for each  Sir, is it possible to write bubble sort in java using for each loop ? or any two related nested loops using for each? Thanks in advance 

JSP-Tutorials

JSP for Each
with Example The Tutorial illustrate an example from 'JSP for Each'. To understand... JSP for Each          The JSP for Each helps you to iterate over 

JSP Servlet Questions

Display helloworld using servlet in jboss
World</h1>"); pw.println("</body></html>"); } } I wrote... in WEB-INF folder.later i wrote a deploy.cmd @echo off set JAVA_HOME=C.... When i runned ma deploy.cmd, I get a message like NO SUCH FILE OR DIRECTORY,I'm 

Java Interview Questions

Command line arguments
Command line arguments  Please explain me what is the use of "command line arguments" and why we need to use 

WebSevices Questions

I had this error while deploying a web services in jboss
I had this error while deploying a web services in jboss  Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener: java.lang.ClassNotFoundException 

General

Welcome to the Jboss 3.0 Tutorial
Welcome to the Jboss 3.0 Tutorial  ...;  Building Web Application With Ant and Deploying on Jboss 3.0... on the Jboss 3.0 application server. After the completion of this lesson 

Java-Tutorials

How To Read String From Command Line In Java
will give the input as command line using the keyboard. Here I am giving the two... be read given as command line and the other will explain that how we a specified... while loop to read any number of input from the command line. In while loop I 

General

developing a Session Bean and a Servlet and deploy the web application on JBoss 3.0
; In the next lesson we will create Entity bean. So first of all I will explain how... I will show you how to develop a Stateless Session Bean and a Servlet and deploy the web application on JBoss 3.0 Server.  Our application is thin 

PHP Questions

If Sessin Contain Array how can i get each value.
If Sessin Contain Array how can i get each value.  sir, i m trying to get value form session and session contain array i mean .. whatever a value(array) from 'mysqlfetcharray()' returned i stored in session. bcoz i want 

Development process Questions

jboss with local entity bean - Development process
jboss with local entity bean  We are using eclipse version 3.4.0 for EJB 2.0 application development ( which has ready plug-in for jboss server 4.2.1GA) and jboss server 4.2.1GA for the deployment. and Jboss is configured 

Java Beginners

JBoss - error during deploy - Java Beginners
JBoss - error during deploy  Hello! I've followed your fantastic tutorial about JBoss but I got stucked in exercise 2. I use JBoss AS 5 (don't really know what AS means but I hope I downloaded the right thing). I try to deploy 

Development process Questions

four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me then how to draw ?
four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me then how to draw ?  hi, i have button use... of the shape of the button.then Draw these on some x and y co-ordinated in j2me 

Java Server Faces Questions

JBoss deployment problem - Java Server Faces Questions
JBoss deployment problem  I have .war file is successfully running with Tomact server 6.0 form eclipse . I have able to start the jboss,but not able to deploy the same .war file which is running @ tomact. Q1:: how to runnin 

Java-Tutorials

Java I/O From the Command Line
Java I/O From the Command Line In this section we will learn about the I/O from the command line in Java. Several times you can see that the programs runs after taking the input from the command line. Java also supports for the command 

HTML

HTML line break tag
HTML line break tag. The HTML Line break tag <br> is used to add a line break in web page. You can use the <br> tag to add line break in your.... While displaying the web page browser will add a line break where it finds 

Java Beginners

how can i draw line between two panel contaning circle and line between their center?
how can i draw line between two panel contaning circle and line between their center?   how can i draw line between two panel contaning circle and line between their center 

Java Beginners

Java - How to read a string line per line
Java - How to read a string line per line  Java - How to read a string line per line I am trying to find the tutorial for reading the String line per line. I have a String data, which contains many lines. What is the best way 

JSP Servlet Questions

Deployment of jsp-servlet in JBoss - JSP-Servlet
Deployment of jsp-servlet in JBoss  hello, I unzipped the JBoss4.0.0. Now, I have saved the web application named "abhi" in the deployment folder . like this E:\JBOSS\jboss-4.0.0\server\default\deploy\abhi After starting 

Flex Questions

Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
in the server, I need to use the JBoss cluster for session replication. I heard that flex... it works once I refresh the browser. Application Environment Details JBoss 6...Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )  Hi 

Java Beginners

How to Read a file line by line using BufferedReader?
How to Read a file line by line using BufferedReader?  Hello Java developers. I have studied java very well in last few months. A work is assigned to me in my company. Here I have many big text files. I have to read these files 

Java Beginners

How can i display the distance of a line drawing randomly?
How can i display the distance of a line drawing randomly?  How can i display the distance of a line drawing randomly 

PHP Questions

How can I execute a PHP script using command line?
How can I execute a PHP script using command line?  How can I execute a PHP script using command line 

Java Beginners

Please explain me the flow of this program..
Please explain me the flow of this program..  // Substring... = "is"; String sub = "was"; String result = ""; int i...); i = org.indexOf(search); if(i != -1 

Java Beginners

how to create directed line between two buttons when i clicked there
how to create directed line between two buttons when i clicked there  Hi I have to create a topology between 6 nodes. 6 nodes are created as 6 buttons and when i clicked in first button and then on second button a directed 

Java Beginners

How can i read a file from nth line onwards in java
How can i read a file from nth line onwards in java  Hi, I need to read a file content from its nth line onwards till end. How can i implement it in java. Regards, Chinnu 

Swing AWT

How can i draw a line using java swings
How can i draw a line using java swings  Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You 

Swing AWT

How can i draw a line using java swings
How can i draw a line using java swings  Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You 

Java Beginners

File I/O
problem is how to print each log within the file on separate line. the log start...(files[i].getPath())); String line = br.readLine...File I/O  i am trying to write a program that reads a text file 

PHP Questions

Line Breaks in PHP
Line Breaks in PHP  Hi, I am beginner in PHP language. How to do the line-break in PHP? Does somebody help me in this regard. Thanks 

Maven Questions

Moving projects from tomcat-6.0 to jboss 5.0.1 GA
Moving projects from tomcat-6.0 to jboss 5.0.1 GA  Now i am using tomcat server version6.0 for my project. Now i want to change the server from tomcat to jboss 5.0.1 GA. What are the things i have to do for using jboss instead 

Java Beginners

automatically break line when ever I put enter.
automatically break line when ever I put enter.  code is working fine... StringBuffer(OriginalMsg); for(int i = 0; i < sb.length(); i++){ int temp = 0; temp = (int)sb.charAt(i); temp 

Java Beginners

divide the line in to two
divide the line in to two  In| this |example |we| are| creating |an |string| object| .We| initialize| this| string |object| as| "Rajesh Kumar"|.| We| are| taking| sub| string | In above mentioned line based on the tag i want 

Java Beginners

sorting Line in c
sorting Line in c  Hi I need help with sorting line in programming c asking user to enter 1-10 characters and then sort them in lower case, alphabetical and ascending order. Any help will be appreciated! please help! void 

Java Beginners

java line chart
java line chart  Hi, I want to draw a graphic in java line chart and ? searched the documents ?n the web. I found the example codes ?n your site... application. It works but I dont want to zoom so much. Can ?t zoom only in int values 

Java Beginners

display co-occurrence words in a file
display co-occurrence words in a file  how to write java program for counting co occurred words in the file 

Java Beginners

display co-occurrence words in a file
display co-occurrence words in a file  how to write java program for counting co occurred words in the file 

Java Beginners

COMMAND LINE ARGUMENTS
COMMAND LINE ARGUMENTS  JAVA PROGRAM TO ACCEPT 5 COMMAND LINE ARGUMENTS AND FIND THE SUM OF THAT FIVE.ALSO FIND OUT LARGEST AMONG THAT 5   ...:"); Scanner input=new Scanner(System.in); for(int i=1;i<=5;i 

Java Beginners

hello there i need help
me with the codes and please explain to me how it works. i only need to use...hello there i need help  : i need to do a program like... OPtions: once i have chosen an option then i should proceed here if i choose b 

Swing AWT

Line Drawing - Swing AWT
Line Drawing  How to Draw Line using Java Swings in Graph chart,by giving x & Y axis values  Hi friend, i am sending code of draw line...) { System.out.println("Line draw example using java Swing"); JFrame frame = new 

Java Beginners

Compiling package in command line
Compiling package in command line  Hi friends, i am totally new to java programming, i am basic learner in java. My query is, How to compile java package using command line. For Eg: When i compile following command, c:>set 

Java Tips and Examples

Comments
be a blank line between each "paragraph" of code. By paragraph, I mean a group... also write comments to explain to humans what the program does. Of course, Java can't understand them because they are written in English, or Spanish 

JSP Servlet Questions

On line examination project
On line examination project  Hi, I am doing project in jsp,nam eis online examination project. I am facing some problems. In my database several.... If i m click on next next question should come. And click on previous 

Java Beginners

co - Java Beginners
 

JDBC Questions

I retrieve a String or other object type without creating a new object each time.
I retrieve a String or other object type without creating a new object each time.  How can I retrieve a String or other object type without creating a new object each time 

JSP Interview Questions

line chart from database in jsp
line chart from database in jsp  how can i create line chart from database in jsp code 

Development process Questions

deploy stand alone java project in JBoss - Development process
deploy stand alone java project in JBoss  i hv a stand alone java project nad a web project to be run on Jboss. from the web project i am calling the classes in stand alone java project. but i dont know how to deploy the stand 

Java Tips and Examples

For-each Loop
< ar.length; i++) { // i indexes each element successively. sum += ar[i... Java NotesFor-each Loop Purpose The basic for loop was extended.... This newer for statement is called the enhanced for or for-each (because 

Blog

JBoss Tools 3 Alpha has been released
of the Project Archives of the JBoss Tools 3 Alpha 1 inculdes- (i) ...The first Alpha release of JBoss Tools 3 has been made recently with intials supports for portals including JSF and Seam portals. JBoss Tools is an open 

JSP Servlet Questions

data grid with edit and delete options at each row.
data grid with edit and delete options at each row.  i want to display the table data in the format of data grid with edit and delete options at each row. i need it very urgently. advance thanks 

Java Beginners

jboss sever
jboss sever  Hi how to configure data source in jboss server and connection pooling Thanks Kalins naik   JBoss Tutorials 

Hibernate Questions

How to install Hibernate-3 and jars required for eclipse environment. And is jboss jars are necessary..?
. And is jboss jars are necessary..?  Dear Friends, I have a lot of doubts... required? I am searching in Google so may jars there some are related jboss... to install hibernate-3 in eclipse environment without jboss.? Please help me. I 

JSP Servlet Questions

jsp-jboss
jsp-jboss  where to keep jsp in jboss 

Java Beginners

instead of calling an individual ResultSet.getXXX method for each column.
instead of calling an individual ResultSet.getXXX method for each column.  How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column 

Development process Questions

line number in a file of entered string
line number in a file of entered string  when i entered string from console , it should show line number in a file of that string 

Java Beginners

How to read a large text file line by line in java?
How to read a large text file line by line in java?  I have been... memory assigned is also a limit. So, we have decided to read the text file line by line and the extract the data line by line. Reading the file line by line 

Advertisements Advertisements
 

 

 

DMCA.com