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()); } }


4 2841

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


4 5652

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


how to run servlet program between two computer through internet ?



what is the difference between servlets and jsp?


2 4464

what is the difference between application server and web server?

IBM, Cegonsoft,

5 6909

what is meant by proxy server

1 2913

Which implicit object in jsp is synchronized?

5 6526

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


4 11154

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


5 5584

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


2 4380

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 4390

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 6445

Difference between treemap & sortedset


3 8107

Diffrence between arraylist and hashmap


3 4280

Post New J2EE Questions

Un-Answered Questions { J2EE }

you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?


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


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


public class ActionSearchBean extends GenericSearchBean { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?


I Want build and release interview questions


i want test pattern of zylog company and some examples also


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 ?


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


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??


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?


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 ????


whay java does not support bass by reference


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


what is meant by proxy server


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