Joice Jose

Greenhorn
+ Follow
since Jun 29, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joice Jose

Thank you Bill.

I tried to create the connection as:

URL myURL = new URL("http://localhost/ats/rest/MyService/getData");//MyService is service and getData is method
HttpURLConnection myConnection = (HttpURLConnection) myURL.openConnection();

But it ended up with a java.io.IOException: Server returned HTTP response code: 500

Joice
13 years ago
I am trying to make a client for an existing RESTful webservice with method signature: String serviceMethod(String).

It will be great if I get some idea about the Rest client.

Thanks
Joice
13 years ago
Use java.util.Date class to compare dates. This class provides methods such as compareTo(), after(), before(), etc.
14 years ago
PreparedStatement is more efficient than Statement object if you are executing similar statements multiple times. When a PreparedStatement is created, the SQL statement is sent to the database for precompilation. The precompiled form of a prepared statement is cached only as long as the PreparedStatement instance is alive, so the performance benefits are only obtained when reusing the same PreparedStatement instance, setting different parameters on each invocation.
If Class.forName will create and initialize an instance of the class you pass, then why not the below program print "Hi making instance of the class.......". But if we use ' new abc(); ' it will print.

public class abc
{
public abc()
{
System.out.println("Hi making instance of the class.......");
}

public static void main(String str[])
{
try {
Class.forName("abc");
}catch(ClassNotFoundException e) {
System.out.println("Hi class not found ......." + e);
}
}
}
My client wants to secure a set of data from all the users, even the programmer should not able to access it at any cost. I was heard about public key/private key data encryption in which any one can access the public key but only the person who know the private key can decrypt the encrypted data. So that at the data entry time, using the public key, we can encrypt the data, store it in database and at the time of retrieval, can ask for private key, decrypt & produce the data. Is this a good solution? Please advice me if any of you are familiar about it. Thank you.
15 years ago
Dear Minu,

I don't think an MBA 'll help you. Try for a degree in your decipline (Computer related). Otherwise go for MBA and specilize in System.

Regards,
-Joice
[ September 21, 2005: Message edited by: Joice Jose ]
16 years ago
Spring framework provides a technique to execute a job repeatedly after a particular time period. Go through the web page Spring
-joice
16 years ago
You know, this judge and cases are dependent objects. Through the judge we can manage cases. That is the methods of judge are managing cases. And through this methods a client can access or modify cases.
before compilation and execution set classpath to the following jar files
1) jboss.jar
2) jboss-client.jar
3) jnp-client.jar

These jar files are available in the jboss folder
A relationship is completely managed by whom the relationship is owned. For example if a judge owned cases these cases are managed by the judge. Here relationship is between judge and caseid(reference Professional EJB). The ejb client don�t want to directly manage this cmr field and in the above example methods from the judge bean is managing cases and that method is is part of judge ejb itself. Hence relationship should be local

------------------
-Joice
You have not specified jspa in which context. jspa can be a file extension, the WebWork web framework uses .jspa extension to map to the WebWork servlet controller.
Or it can be the short form of java specification participation agreement.

----------------------------
-Joice
Hi Chaurasia,

Session level variables are not even accessible to other users in the same application. Then it is not possible to access it out side the application.

Regards,
Joice