Kashyap Hosdurga

Ranch Hand
+ Follow
since Sep 19, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Kashyap Hosdurga

Hi,
When I enquired about OCEJWSD with Oracle they sent me an email asking to do transfer of money to bank account along with filling an application form. Can someone let me know if they have similar experience? The emial looks legit (komala.d@oracle.com). Please let me know the process to book the certification exam in India.
Thanks.
Hi,
I have passed SCJP long back (>9 years). Now I am planning to attempt OCEWSD certification. I am not sure how i will be able to link my old SCJP certification details in the new Oracle registration site. Can someone please help?

Thanks,
Kashyap
No luck , can you please guide me to some website that helps me with step by step instructions that get my first program working? I have gone thru a few websites (like vogella), but I am unable to find something that explains the link/connection between my servlet, XML file and the client/server (with tomcat/eclipse). Currently I am still reading "web services up and running" but wanted to make my hands dirty to understand the book better.
7 years ago
Thanks for your response.

Even
http://localhost:8080/ServletContainer1/rest/hello

gives the same error message
7 years ago
Some more details

I am using Tomcat 8.0 and Eclipse Version: Neon.1a Release (4.6.1)
7 years ago
Hi,
I am learning REST and have written a simple hello world program.


My web.xml is




When I type
http://localhost:8080/ServletContainer1/test/hello

it says

type Status report

message /ServletContainer1/test/hello

description The requested resource is not available.


Can someone please help me to get this fixed?

7 years ago
Yes, I have heard the same. In one of the projects I worked, Bill Me Later (BML) was not implemented for Mobile App/web because it was less secure and BML needed SSN of the user to be entered in the website.
8 years ago
Hi,
I am trying to contribute to open source community and I am looking for a small java project. I tried Android, but the source code is huge (8.5 GB) and I have limited speed internet connection so it may take weeks to download 8.5 GB.

Any suggestions on any small open source java projects that I can download (may be 2-3 GBs source code that I can down load in a day or 2)

Thanks,
Kashyap
9 years ago
Yes that is correct. Sorry if I was not clear earlier.
I am reading about different design patterns and I am confused about Proxy and Delegate.

Delegate: you instantiate the object in the class and then call the method of the object you instantiated.
Eg.

public Class Secretary {
public void work () {
S.O.P ("Work done...");
}

public class Boss {
public void work() {
Secretary sec = new Secretary();
sec.work() // Delegation
}

Proxy:
The proxy and the actual class must implement the same interface and we instantiate the actual class in the proxy and call the function (similar to delgate)

Please correct me if I am wrong.
Ulf,
Thanks for the simple yet brilliant idea of HTTP call.

Jayesh,
We do have a load balancer, but the point is to have both the apps be available and if one of them is down (for any reason pointed by Ulf) the other app also should not be up and running.
9 years ago
As per business, they want both the application to be running.

1. Since both the application and JVM are on the same server, if the server is down then we don't have any issue
2. If server is up but
2.1 One of the the JVMs is down
2.2. The application is not responding for some reason
then we don't want the other application to be up (we have to display a "Sorry, please try after sometime " page)

So we figured only when the JVMs are together then we can fix one of the issues (2.1). Now we have to make some more changes if the application is not responding (at a later time with additional effort)

Thanks,
Kashyap
9 years ago
Thanks Jeanne for your quick response.

1. When I say Java yes I mean servlet (sorry I was in a hurry while typing) and yes they will be running on the same machine
2. When the first one shuts down the second one has to shutdown within the minute (60 secs)
3. The applications are not turned off or on, they will be running as separate JVMs (as planned originally)

The new requirement is to have the dependency that both applications are either up or down.
9 years ago
Hi All,
I am back to Javaranch after a looooong time. We have 2 different applications that we are developing (Java and JSF). Now business has a new requirement that the 2 applications should be running together and if one of them is not running then the other one should not run (can shut down automatically). We have completed the development under the previous assumption that these 2 applications will be running separate. Now with the deadline very close we are looking for some "hacks" to make sure both the applications are either ON or OFF. One of my team members suggested that we can have them in a single JVM (with minimal modification to code) that way if the JVM is down then both the applications will be down. Please suggest any better ways of achieving this.

Thanks,
Kashyap
9 years ago