Win a copy of Rust Web Development this week in the Other Languages forum!

senthil rajan

Ranch Hand
+ Follow
since Aug 31, 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 senthil rajan

Hi Frnds,

static methods won't participate in inheritance since its belongs to its class only and we can't override this method. This is my understanding abt static method. But the following code shows compiler error when I change the return type in Subclass.

here is the code :
-------------------------------------------------------
class Parent{
static String display(){
return("Baseclass");
}

public class Child extends Parent{
static int display(){
return(12);
}
}
--------------------------------------------------------


Anyone pls help me where I misunderstood the concept.


Thanks in Advance.
Senthilrajan.
15 years ago
Hi Frnds,

class A is the parent class which implements Serializable interface. Class B is the child class which extends Class A.
Now my question is I don't want class B as Serializable, So can make class B as non Serializable class .. Is it possible?

I think one way is we can mark all variables as transient. Is there any other way?

Pls clarify me on this.

Thanks,
Senthil.
15 years ago
Hi Frnds,

Generally in Java if u pass a object to a method its consider as call by reference. It means the actual memory location is being passed instead of copy of the object.

My question is, when we use RMC, that is when we pass the object to the remote method, will it consider as call by reference? how it shares the same object?

Thanks in Advance,
Senthil.
15 years ago
Hi Frnds,
Its a unsolvable problem for me too...

Can anybody give some idea about this???

Thanks,
Senthil.
Hi Frnds,

In which order the listeners will be executed?
Its based on the order in web.xml or will it follow any pattern match like servlets? If so what kind of pattern?

Can anybody give some idea on this??

Thanks,
Senthil.
Hi,

Please clarify my doubt.

What are the differences between Simple & classic custom tags? I think By using Simple custom tags, we can do all the stuff, then why we go for classic Custom tags?

Thanks,
Senthil
Thanks Rex & santosh,

Its pretty clear now.


Regards,
Senthil.
Hi Frnds,

When I implement SingleThreadModel interface to the servlet, which are the following variables are thread-safe?
- class variable
- static variable
- instance variable
- context variable
- sesson variable
- request variable (Its always thread-safe)
- local variable (Its always thread-safe)

I'm bit confused abt it.Can anybody help me on this??

Thanks,
Senthil.
Thanks Frederic,

Crystal clear now.

Thanks again,
Senthil.
Hi Frnds,

Even it is simple doubt, pls clarify.

As per my understanding ServletContextListener will be used to create objects(like database connections), at the time of loading the application.

But why can't we write the object creation code inside the init() method?

Thanks,
Senthil.
Congratz Suchitra ..

Wonderful score !!!

If u give some preparation tips, it'll be helpful to us.

Best of luck for ur future !


Cheers,
Senthilrajan
Hi Frnds,

I'm having a concern abt servlets ability. I would like to get suggestions from u.

The problem is simple. I want to replace the servlet, without stopping the server. I guess there is a option in the web.xml file to do this(I don't know what exactly it is !?!). My doubt is , If I replace the servlet what will happen to the already created threds. The user may be in between his tansaction. Should I force the user to close his thread? Or it'll exist until the user close it?

Thanks,
Senthilrajan.
Congtratz Buddy,



GoodLuck for ur future!


Regards,
Senthil.
Hi Frnds,

When will be the JVM started in the system?
As soon u start your system? or as soon as you start your first java application?

Thanks in Advance,
Senthil.
15 years ago
Good Score

Congtratz man !!!


- Senthil.