Arunagiri, Shanmugham

Ranch Hand
+ Follow
since Jan 23, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Arunagiri, Shanmugham

Hi guys,
I am using Servlet Exec on IIS running on Win NT. How can i configure to run JSP in it. I read that, we have to set tools.jar file in classpath and restart the Servlet Exec, but it does'nt interpret JSP even after doing that.
Thanx
Arun
23 years ago
Hi,
http://www.w3.org/TR/SOAP/#_Toc478383490
U can find examples in above URL.
Arun
SCJP
Hi,
The coupon price is $150. Must be about Rs.6000/- in india.
Arun
SCJP
Hi Sanjay,
Can u post the code here, So that the bug can be identified clearly.
Arun
SCJP
Hi,
U have to contact the Web Space provider. U can ask them to start the rmiregistry in their server. The Applet has to be uploaded to the web Server. It case of uploading the Applet to the server, U will have to edit the policy file in the webserver in case of writing anything on the server.
Arun
Sun Certified Programmer for Java2 Platform
23 years ago
Hi,
1. Both RMI and CORBA are used to talk between Objects.
2. Both RMI and CORBA uses Stub and Skeleton Files to talk
with client and server.
3. CORBA is lanugage independent and RMI is not. RMI can talk
only with java objects.
4. CORBA uses more number of protocols especially like IIOP
(Internet Inter Operable Protocol) etc.
5. CORBA concept is created by ORG(Object Management Group)
whereas RMI from Sun Microsystems.

Hope this gives u a fair comparison.
Anybody correct me if i am wrong.
Arun
Sun Certified Programmer for Java2 Platform
23 years ago
Hi,

RMI works with the RMI Registry. All the objects that is to be accessed, will have to be registered first in the RMI registry. This registry can be located in any of the remote system. Before registering the object into register. U have to create a Skeleton and Stub class using an Interface which extends Remote class.
U have to compile the Server and client programs with java.exe which should be followed by compiling the Server class file with rmic.exe (RMI compiler) which will create the Skeleton and Stub files automatically. Client program and Server program will not directly talk to the registry, instead they use Stub and Skeleton files.
Hope this gives a brief idea on RMI architecture.
Arun
Sun Certified Programmer for Java2 Platform
23 years ago
Hi,
U must have opened the Database connection in the init method if the servlet. Which will not share the database when 1 connection is already opened. U can use connection pooling concept to rectify it.
Arun
Sun Certified Programmer for Java2 Platform
Hi,
http://www.webdevelopersjournal.com/columns/connection_pool.html
This site explains u about coding Connection pool class in Servlet in detail. Can go thru this.. if u are not comfortable with above.
Arun
SCJP
Hi Deepika,
Check this link http://jakarta.apache.org/turbine/getting-started.html. This link talks about a software called Turbine. Which can be installed in apache web server. It also comes with Tomcat Servlet Engine. This whole topic also covers implementation of Connection Pooling too.
Hope this helps u a little.
Arun
SCJP
Hi,
You can handle this eigther by implementing the SingleThreadedModel Interface to the servlet code or by handling with Multiple Thread on the Servlet code. Implementing the SingleThreadModel Interface will automatically create new instances of the Connection everytime, the request is made.
Arun
SCJP
XML
Hi,
"XML presents data in a meaningful way", This means , in HTML u have the tags from which u can find out much meaning in it.
Suppose u have three lines of address line in a paragraph tag. U cant differentiate which is city and which is pincode etc. But in XML , since u can define separate tag for pincode and city, it is meaningfull just by seeing the tag itself.
Hope this gives u an idea.
Arun
SCJP
Hi Preethi,
You can use the class files (Bean component) created in Java in Lotus Notes. Notes gives the option of coding in javascript, Java, Notes Script and Formula. I dont know about using it in other development environment.
Arun
SCJP
23 years ago
Hi,
Yes, true.. u can use the java mail API. But the same can also be coded with Sockets if u know the protocol(smtp and pop3). Using java mail API anyway saves time.
Arun
SCJP
Hi,
Only way to use RMI chat programs on Browsers like IE and Netscape is to clear the security, by editted the java.policy file with policy tool and give write permission.
Arun
SCJP
23 years ago