Jayashree Ravi

Greenhorn
+ Follow
since Oct 16, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Jayashree Ravi

Hi Javid Jamae & Peter Johnson,
I'm working on SOA projects and would like to know if this book covers on how JBOSS can be integrated with JBOSS ESB, MULE, ServiceMix or other open source ESB tools. Also how easy it is to integrate with other than JBOSS ESB?
Thanks
Jayashree
16 years ago
Thanks for all your wishes. The link is working fine ie www.webappcabaret.com/exams/examlogin.jsp however since it is JSP may be old browsers may have some trouble. However since the servelts passivates at regular intervals my exam has not been very effective though I have tried to simulate real exam scenario as much as possible. So far many javaranchers have tried with the exam and I am overwhelmed with the accounts and I am planning to take up another site and make my exam much more pleasurable experience. Once I do that I will notify all. Till then I really cant help people who are getting errors. Thanks again
Jayashree
SCJP2
24 years ago
Thanks for your feedbacks. I cant figure out the problem you have Bhaswati as I have tried with IE and Netscape and it works with both. However I can understand Paul Ralph problem and at the moment I am helpless about this. The problem is the servlets get passivated and reactivated at certain intervals. As you know Webappcabaret is a free hosting area and that is how they have designed it so that the resources are not locked up by a particular program. However if any one is able to help me out with any other free hosting site which does not have this problem of activation and passivation at regular intervals then I will load the program in that site immediately.
Jayashree
24 years ago
Congrats!. BTW I have created a test at www.webappcabaret.com/exams/examlogin.jsp where in you may get some questions with type in answer type too. You can practice the same and I have given the answers in the last also. so this should help you out. If you have any good suggestions I wud be too willing to implement them
Jayashree
24 years ago
Thanks and now I am looking for a job in Detroit area. any tips?
24 years ago
Hi Everyone,
I passed the exam with 86% and subsequently I have developed a mock exam project at www.webappcabaret.com/exams/examlogin.jsp. If any one is interested in practicing, they can do so and I would very much appreciate if you could pass on your feedbacks to
[email protected]
Thanks
Jayashree
24 years ago
I have one situation which I am not able to decipher the cource of action the program is taking while doing synchronization. If anyone cud explain me the process it wud be great.
class Thread2 {
static Thread2 Tr3 = new Thread2();
static Thread2 Tr4 = new Thread2();
static Thread Tr1 = new Thread(new Thread1("Tr1"));
//Tr1.setPriority(1);
static Thread Tr2 = new Thread(new Thread1("Tr2"));
//Tr1.setPriority(1);
public static void main (String args[]){
Tr3.somerun(Tr1);
Tr4.somerun(Tr2);
}
public static synchronized void somerun (Thread Tr){
Tr.start();
}
}
class Thread1 implements Runnable{
public String message[] = {"This", "is"," one", "of the Java programs"};
String name;
public Thread1(String id){
name = id;
}
public void run() {
for(int i = 0; i < message.length; i++)
{

System.out.println(name + message[i]);
//randomwait();
}
}
void randomwait(){
try{Thread.currentThread().sleep((long)(3000*Math.random()));}
catch(InterruptedException e){
System.out.println("Interrupted");}
}
}
I have basically tried to synchronized the somerun method. I have instantiated two objects of Thread2 class and tried to run the synchronized method to find out whether the other thread is blocked when the first one is operating. with the statements within the comments block the above program appear to run as expected and that is first Tr3 runs and the Tr4 runs. However if i change the Thread priority to a lower value for both of them then there does not seem tobe any sync at all. also if i add the randomwait() into the run() then also i dont see the effect of sync. can anyone help me?.
Thanks