Anirudh Srivastav

Greenhorn
+ Follow
since Jun 30, 2012
Merit badge: grant badges
For More
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 Anirudh Srivastav

Recently passed out SE 6 exam and thought SE 7 could be easier. Thanks for sharing the very valuable information. I wish you all the best in case you are going to re appear for the exam.

Best Regards
Mansi,

Are you asking us the naming convention for the methods which registers or removes the listener OR the valid names for the Javabean. The examples you have cited here sound like the ones which are suppose to register or remove the listeners

In case, your query has some thing to do with K&B book, the Javabean standard section @page 9 discuss ONLY the naming convention for the methods that are used to add or remove listeners from an event and not the valid name for the JavaBean.

Like Paul has said, none of the names you had listed are valid Javabean names. Javabean naming standard is similar to the way you name a class.


Refer 11.4 section of Javabean spec for more info.

Hope this helps!

I am the beginner ....



Hope the following link helps you. Guess you might have found this link by yourself.

http://docstore.mik.ua/orelly/java-ent/servlet/ch09_01.htm

To understanding this example, you should have a basic knowledge of RDBMS and JDBC
11 years ago

Write a Sample program to demonstrate transaction management in java?

What? You're giving us homework?






11 years ago
Bear Bibeault / Ulf Dittmer

Thanks for sharing the valuable information.

Best Regards
11 years ago

The Service method would invoke doGet() or doPost() depending on the equivalent (GET/POST) HTTP methods. If your servlet should handle both POST and GET HTTP method you ll call doGet from the doPost method.
11 years ago
Ning,

You are welcome. Enjoy your Java Ranch journey !!
11 years ago
I guess you would have figured it out by yourself in case haven't here is a piece of info which would help you.

There is property named crossContextAllowed which is equivalent to crossContext of tomcat. It should be available in your web application's web app xml. You may refer your server user guide to know the exact syntax.

Hope this helps.

Regards
11 years ago
Pandian,

Paul has cleared your queries, apologies for the delay in reply. Was busy with my WCD certification preparation.

I hope you are learning Servlets and JSP (just like me ) and hence would suggest you to read HF Servlets and JSP (first six chapters).
It s pretty easy and straight forward and might take around 30 hours at the max.

If you are not able get HF Servlets and JSP, then try Core Servlets and JavaServer Pages by Marty Hall. First 9 chapters. Entire book is available as a free download.

http://volume2.coreservlets.com/

I felt most of queries would not have come in case you would read the chapters mentioned.

Good luck to you.

11 years ago
@arulk pillai
@Gaurangkumar Khalasi

Thanks for your kind words! I was busy with WCD certification hence delay in my reply.


@arulk

Sir, I have sent a PM. Kindly reply.

Best Regards
Anirudh!
11 years ago
I was a silent observer of this forum. Cleared OCJP today. Thought of sharing my experience with the fellow ranchers

New to Java, approximately 15 to 20 days of preparation.
Read K&B (pdf) 3 times and when ever recessionary cleared the concepts with the help of Java Tutorial and web.
Used Enthuware + Learnkey simulator + K&B self test.

First run :

1. Highlighted the important points in bright color and added my understanding as sticky notes
2. Created a sticky note at the first page, and kept adding the page # along with the important area to revise
eg: @page 589 and 594 read the equals() and the hashCode() Contracts respectively
3. Created sample programs for the different concepts discussed. Added my understanding as comments.

Second run:
went through the highlighted text and sticky notes. modified the notes when ever necessary. revisited the code snippets and modified them based on the need.

Third run:
revisited the pages marked in the step 2 of the first run along with the code snippets.

Enthuware tests were very good. Learn Key was OK.

Next step : web component certification

Thanks
Anirudh!
11 years ago