J2EE Interview Questions
Questions Answers Views Company eMail

Whats the O/p of the below code snippet ? And explain how does it imply the concept of call-by-value/call-by reference. (PS : Pls ignore syntax errors) public class One { public oneA(){ sop ("Into One--");} } public class Two extends One{ public twoT(){ sop ("Into Two--"); } } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(a.oneA()); sop(t.oneA()); sop(a.twoT()); sop(t.twoT()); } }

Wipro,

4 2998

Explain the following statement: Java is always pass-by-value.

Wipro,

4 5863

what is direct link to download swing ebook,applet,ejb,core java

1154




how to run servlet program between two computer through internet ?

TATA,

1642

what is the difference between servlets and jsp?

Cegonsoft,

2 4654

what is the difference between application server and web server?

IBM, Cegonsoft,

5 7205

what is meant by proxy server

1 2985

Which implicit object in jsp is synchronized?

5 6658




What is the use of RequestProcessor, if we are having ActionServlet in struts

Oracle,

4 11602

static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable

Infosys,

5 5752

Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8

Amazon,

2 4580

Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.

6 4556

write a program, when a statement is entered, it should display in reverse order. Ex: Statement is "I am writing program in reverse order". Output should be like "order reverse in program writing am I".

4 6872

Difference between treemap & sortedset

Oracle,

3 8458

Diffrence between arraylist and hashmap

Oracle,

3 4402


Post New J2EE Questions






Un-Answered Questions { J2EE }

for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that??

2897


I’m new to WebLogic Does anyone knows how to Deploy Application using

900


how to run servlet program between two computer through internet ?

1642


I Want build and release interview questions

2213


CANDOR Services, a leading provider of next-generation staffing services, draws from unparalleled resources and expertise to offer you innovative, quality workforce solutions. We have openings for "J2EE ARCHITECT" with one of our clients. Client is CMM Level 5 company. Location : Hyderabad Roles A J2EE Architect with expertise in Web Architecture (covering Spring MVC, AOP, Webflow, Struts, Tiles, Hibernate, JAAS, Web Application Performance Turning & Measurement) as part of Solutions Architecture Group: Position involves in providing architectural vision, conceptualize and provide architectural approaches, create models and specifications, and validating the architecture against requirements and assumptions. Also involves in providing oversight over ongoing projects as a reviewer and auditor Educational Requirements A minimum of BS or MS (MS preferred) in Computer Science or Engineering or equivalent experience in the IT industry. Skill Sets Overall 8-10 Years of experience in IT industry with 3-4 Years of experience in Service industry Technology Skills Java, J2EE, MVC Frameworks (Struts/WebWork/JSF/Spring), Spring, AOP, WebFlow, ORM Tools (Hibernate/Ibatis/JDO/Tapestry), App servers, Databases, JAAS Web Application Performance Tuning & Measurement 6+ years Java software development experience. 4+ years of enterprise Java development, with emphasis on web-based applications. Strong relational database and SQL skills (5+ years). Mail to : anuradha.k@candorservices.co.in

2222


what is direct link to download swing ebook,applet,ejb,core java

1154


what is meant by proxy server

2985


when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

804


public class ActionDTO extends GenericDTO implements Serializable,Auditable { // default serial version id, required for serializable classes. public static final String ACTION_SUSPEND = "SPN"; public static final String ACTION_DEREGISTER = "DRR"; public static final String ACTION_REINSTATE = "REI"; private static final long serialVersionUID = 1L; private Long actionId; private long accountId; private Date actionDate; private String actionType; private String remarks; private AccountDTO account; public ActionDTO() { } public ActionDTO(Long accountId, String action, String remarks, String updatedBy) { setAccountId(accountId); setActionType(action); setActionDate(new Date()); setRemarks(remarks); setUpdatedBy(updatedBy); } public Long getActionId() { return this.actionId; } public void setActionId(Long actionId) { this.actionId = actionId; } public long getAccountId() { return this.accountId; } public void setAccountId(long accountId) { this.accountId = accountId; } public Date getActionDate() { return this.actionDate; } public void setActionDate(Date actionDate) { this.actionDate = actionDate; } public String getActionType() { return this.actionType; } public void setActionType(String actionType) { this.actionType = actionType; } public String getRemarks() { return this.remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } // bi-directional many-to-one association to AccountDTO public AccountDTO getAccount() { return this.account; } public void setAccount(AccountDTO account) { this.account = account; } @Override public String toString() { // TODO Auto-generated method stub return null; } } what is the purpose of @Override public String toString()...and what will do here ?

1333


i want test pattern of zylog company and some examples also

1482


I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????

3037


what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?

1237


to update a batch in a table in jdbc which method of statement object is used

828


whay java does not support bass by reference

1462


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

727