Dipti Mishra

Greenhorn
+ Follow
since Jan 24, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Dipti Mishra

Hi,
Can you please calrify how to identify between a CMP and a BMP.I am a little confused, as I am new to EJB.

Regards,
Dipti
Hi,
What kind of bean(entity/session) will you use if there are no database transactions and all you use is a read-only database? Is CMP used for read only database? Please explain ..its urgent as i have an interview tomorrow.

Thanks,
Dipti
Hi,
Can anybody clearly explain me that what is executed first? A Static block, a static method or static variables? What is sequence of execution of these following lines?

public class Static
{
static
{
int x = 5;
}

static int x,y;
public static void main(String args[])
{
x--; myMethod();
System.out.println(x + y + ++x);
}

public static void myMethod()
{
y = x++ + ++x;
}
}

What will be the output? If you move the statis block below the static variable decalaration, why the output remains same.....

Please reply as soon as possible.

Dipti
14 years ago
Hi Folks,

Can anyone tell me how do we call a java script method in a JSP file.Can we use it directly call it? Can we retrieve a session variable in javascript? if yes, then please specify how? and if no then do tell me the reason.

Thanks in advance.

regards,
Dipti
14 years ago
JSP
Hi ,

I am looking out for some good links to Threads and Synchronization questions.I am preparing for SCJP exam.Anybody knowing such link ,please reply as soon as possible.

Regards,
Dipti
hi folks,

i am very much confused about the difference between web servers and application servers.I know that tomcat,JBoss and weblogic are application servers , but can anyone clarify what is a web server and can u just name a couple of webservers available? its urgent so please reply as soon as possible.

Regards,
dipti
Hi All,

I got some information that I Domain Technologies Thomson Prometric Koramangala,5TH block , Bangalore has announced Discount for Java vouchers,The new price of the vouchers is 5900/- (Five
>Thousand Nine Hundred Only) .They claim that there is a very limited offer this time and the last date to purchase the vouchers is April 30, 2006.The vouchers carry a ONE YEAR VALIDITY .

I just want to know that whether the information given here is valid or not..


Regards,
Dipti
Hi,
thanks for the help

regards,
Dipti
14 years ago
JSP
Hi everybody,

I wanted to learn JSP and Servlets on my own so i thought of writing a simple program in wich i will create a jsp page with a text box and a submi button. A servlet will read the textbox value,do wome calculations n return the result in some page...But i'm not getting how to start.

Can somebody suggest me some good links for beginners

Regards,
Dipti
14 years ago
JSP
Hi,

I want to go through the DESIGN PATTERNS...Can anyone suggest me any good book on that(in India)?

Regards,
Dipti
Hi,

I want a clear explanation about the difference between Inheritence and Aggregation along with a small code example.
Can anyone help me

Regards,
Dipti
Hi,

I am confused about which which Certification will be a better choice to give? Is it SCJP 1.4 or SCJP 1.5.

Please guide me through this delimma

Regards,
Dipti
Hi Craig,

Thanks for the clarification.

Regards,
Dipti
Hi Naresh,

Congrats !!!
Please give us some tips....

Regards,
Dipti
14 years ago
Hi,

While studying I came across this question.

Which statement is true?

Select the one correct answer.

1) A super() or this() call must always be provided explicitly as the first statement in the body of a constructor.

2) If both a subclass and its superclass do not have any declared constructors, the implicit default constructor of the subclass will call super() when run.

3) If neither super() nor this() is declared as the first statement in the body of a constructor, then this() will implicitly be inserted as the first statement.

4)If super() is the first statement in the body of a constructor, then this() can be declared as the second statement.

5)Calling super() as the first statement in the body of a constructor of a subclass will always work, since all superclasses have a default constructor.

As per what I have studied option (1) seems equally rasonable to me.But when i checked the answer it says (2)

Can anyone tell me where am i mistaken?

Regards,
Dipti