ashishk kumar

Greenhorn
+ Follow
since Jan 29, 2008
Merit badge: grant badges
For More
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 ashishk kumar

Hi,
I was making a silly mistake. Got it now. Incase anyone makes the same mistake here is the correct way to describe
http://ant.apache.org/manual/running.html#viajava
Cheers,
Ashish
16 years ago
Hi,
I am learning ant through the Ant manual.
I am successfully able to compile and create .jar files but unable to run using the <java> tag.

Can anyone please explain how to use the <java> tag.
Th ant manual contains an example but with no explanation.

Thanks in advance,
Ashish
16 years ago
Hi,
This is my first project and they expect me to know everything.... well i should know.
Ok, I am responsible for developing and designing the presentation tier of an application based on Struts 1.3 framework.
I have the use cases in front of me and I have to design the architecture of the presentation tier ONLY.
Ques. What does the architecture consist of - Class diagrams or Sequence Diagrams or any other UML modelling technique?? Or is it like DFD's?

I am totally clueless, any information would be helpful, please reply,
Thanks in Advance,
Ashish
Yes but I am searching for "JDBC Tutorial" not "Oracle JDBC tutorials"

I know I can change the line where it says Class.forName("Oracle Class driver")
But I am trying to learn and know how to connect using driver 4 ? What would be the steps ?
Thanks,
Ashish
Hi,
I am new to JDBC API.....
I googled "JDBC Tutorials" and I got several tutorials, but they mainly describe the 4 types of drivers and shows an example using jdbc-odbc driver.
Can anyone please show/guide me to tutorials/code snippets where I can see the type 4 driver in use(because its the fastest and the best).

How do I connect to a databse (preferably Oracle) using the type 4 driver?

Thanks in advance,
Ashish
Hi,

Could you please tell me which design patterns does Struts 1 implement other than Front Controller Pattern?
Also, if it implements any general design patterns also?

Thanks in advance,
Ashish
16 years ago
Thanks Bear, that should suffice the argument.
Cheers,
Ashish
16 years ago
Yes Bear you are right and I agree with you fully.
But using Apache/Tomcat together is supposedly more reliable and considered a good J2EE practice.
Actually I was asked this question at an interview and I did not know the answer.

Can you please throw some light on this issue ?

Thanks,
Ashsih
16 years ago
Hi,
I have a doubt....
We all know -
Apache is a webserver and Tomcat is a container.

So how does Apache talk to Tomcat?

I have been checking the specifications on apache jakarta website but could not find the answer.

Please reply,
Thanks in advance,
Ashish
16 years ago
Thanks guys, your answers have cleared a big doubt.
I did a search on "J2EE clustering" and was able to find a lot more information in detail. Thanks Ben for the answers and introducing "clustering" term to me.
Thanks a Ton!
Ashish
16 years ago
Sorry Bear, I am a newbie and in future i will keep this in mind while posting.
16 years ago
Thanks Ben for the quick response really appreciate it, just one last doubt...

Can you please explain this more -

"Some containers will allow you to forward across contexts on the same server but not from one server to another."

1. What do you mean by "contexts" here?
2. Does this mean that you have to deploy the full Presentation tier(JSP, SERVLETS) on ONE SINGLE JVM ??

Thanks in advance,
Please reply,
Ashish
16 years ago
Hi,
I have a doubt....
If for example Servlet1 is on JVM1 and Servlet2 is located on JVM2 and this is a distributed application.
Now how do I use RequestDispatcher to go from Servlet1 to Servlet2 ?
RequestDispatcher view = request.getRequestDispatcher(???);
view.forward(req,resp);
What should I put where the ??? is .
Please advise, I am not able to find an answetr to this ques.
Thanks in advance,
Ashish
16 years ago