Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...




Java J2EE Interview Questions
Questions Answers Views Company eMail

what is the life cycle of jsp?

HCL, ITC Infotech,

1 5659

Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 10048

what's the main difference between unix os and linux os?

TCS,

2 6972

Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.

Cybermate, Hexaware,

4 9680

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 ?

Sony,

2468

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 ?

Sony,

2578

if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.

Wipro,

4 6998

Struts follows which design patterns?

IGT,

4 21689

what is the logic inside any default constuctor?

2 4420

How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?

5 14658

Java is based on pass by reference or pass by value ..

L&T, Wipro,

6 10939

difference between arraylist and linkedlist otherthan performance

L&T,

2 10687

why pointer is not used in java?

3 11751

what are the difference between Java and .Net?

5 8540

we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.

Accel, TCS,

5 10038


Un-Answered Questions { Java J2EE }

Is jdbctemplate thread safe?

904


If some new data has entered the database, explain how can a servlet refresh automatically?

1297


Is main a function?

1061


Explain the concept of proper inheritance?

1068


What super () does in java?

914


What is parameters example?

1035


Do I have to use jsps with my application?

1027


Can we override destroy method in servlet?

987


What is master catalog?

945


What are the swing components?

949


What are swing controls?

971


What makes a function well defined?

994


Write a program to find the greatest of three numbers in java?

1008


What are espots and how do we manage them?

892


What is meant by application context?

444