| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0 Thanked 5 Times in 5 Posts Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5
|
Java Interview Questions.Please Answer them?
Dear Friends can you please help me with your answer's for the following Questions?
Q1.) Can we synchronize static variables ? Q.2) Do u know where we instantiate BusinessDeligate in our struts appln ? Q.3) How two jsp pages can maintain state ? Q.4) Why oracle 4rth driver is named as oracle thin driver? |
|
|
|
| The Following User Says Thank You to radhika743 For This Useful Post: |
yeluri_anil@yahoo.co.in (13-06-07)
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0 Thanked 5 Times in 5 Posts Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5
|
Re: Java Interview Questions.Please Answer them?
If possible, would you please answer as many of these questions as you can ATLEAST?
|
|
|
|
|
|
#3 (permalink) |
|
Member
Join Date: Jan 2007
Age: 27
Posts: 83
Thanks: 1 Thanked 2 Times in 2 Posts Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 2
|
Re: Java Interview Questions.Please Answer them?
hi
4ans: Oracle also provides a Type 4 JDBC driver, referred to as the Oracle “thin” driver. This driver includes its own implementation of a TCP/IP version of Oracle’s Net8 written entirely in Java, so it is platform independent, can be downloaded to a browser at runtime, and does not require any Oracle software on the client side. This driver requires a TCP/IP listener on the server side, and the client connection string uses the TCP/IP port address, not the TNSNAMES entry for the database name. |
|
|
|
|
|
#4 (permalink) |
|
Member
Join Date: Jan 2007
Age: 27
Posts: 83
Thanks: 1 Thanked 2 Times in 2 Posts Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 2
|
Re: Java Interview Questions.Please Answer them?
In Struts ,we instantiate BusinessDeligate in our struts appln
It is used to remove dependecies between web and EJB componenet makes web componenet independent to EJB component Seperates JNDI and EJB API access from web component Develop one business deligate for each SFsession Bean. To access life cycle frunction of SFSB business deligate must be provided with the same function signatured constructor(ejbcreate()) When client access the constructor of business delegate, the same will access the create() of SFSB to obtain remote object List of functions defined business deligate must exactly match(count and signature ) with the business logic functgions of SFSB Note: Business Deligate need not be serialized and presence only required in client system. |
|
|
|
|
|
#5 (permalink) |
|
Member
Join Date: May 2007
Location: Bangalore
Posts: 37
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Re: Java Interview Questions.Please Answer them?
because static shares same copy for all instances and it does work globally..
__________________
Thanks & Regards, Deepesh The Language of Friendship is not Words but Meanings.... |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JAVA WEB SITES | yathish | JAVA Technologies | 2 | 20-11-08 12:11 AM |
| tips for interview | ozobalu | HR Questions | 9 | 23-09-08 12:32 AM |
| Dug it | yathish | Companies Info & Recruitment Process | 4 | 10-09-08 06:25 PM |
| Interview Questions | Pink | Other Queries | 15 | 20-08-08 03:37 AM |