Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Java_J2EE_Job_Interview_Companion

.pdf
Скачиваний:
21
Добавлен:
13.05.2015
Размер:
14.25 Mб
Скачать

350

RESOURCES

 

 

 

 

RESOURCES

Articles

Sun Java Certified Enterprise Architect by Leo Crawford on http://www.leocrawford.org.uk/work/jcea/part1/index.html.

Practical UML: A Hands-On Introduction for Developers by Randy Miller on http://bdn.borland.com/article/0,1410,31863,00.html

W3 Schools on http://www.w3schools.com/default.asp.

LDAP basics on http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzahy/rzahyovrco.htm.

Java World articles on design patterns: http://www.javaworld.com/columns/jw-Java-design-patterns-index.shtml.

Web Servers vs. App Servers: Choosing Between the Two By Nelson King on http://www.serverwatch.com/tutorials/article.php/1355131.

Follow the Chain of Responsibility by David Geary on Java World - http://www.javaworld.com/javaworld/jw-08-2003/jw-0829- designpatterns.html.

J2EE Design Patterns by Sue Spielman on http://www.onjava.com/pub/a/onjava/2002/01/16/patterns.html.

The New Methodology by Martin Fowler on http://www.martinfowler.com/articles/newMethodology.html.

Merlin brings nonblocking I/O to the Java platform by Aruna Kalagnanam and Balu G on http://www.ibm.com//developerworks/Java/library/j-javaio.

Hibernate Tips and Pitfalls by Phil Zoio on http://www.realsolve.co.uk/site/tech/hib-tip-pitfall-series.php.

Hibernate Reference Documentation on http://www.hibernate.org/hib_docs/reference/en/html_single/.

Object-relation mapping without the container by Richard Hightower on http://www-128.ibm.com/developerworks/library/j- hibern/?ca=dnt515.

Object to Relational Mapping and Relationships with Hibernate by Mark Eagle on http://www.meagle.com:8080/hibernate.jsp.

Mapping Objects to Relational databases: O/R Mapping In detail by Scott W. Ambler on http://www.agiledata.org/essays/mappingObjects.html.

I want my AOP by Ramnivas Laddad on Java World.

WebSphere Application Server 5.0 for iSeries – Performance Considerations by Jill Peterson.

Dependency Injection using pico container by Subbu Ramanathan .

WebSphere Application Server & Database Performance tuning by Michael S. Pallos on http://www.bizforum.org/whitepapers/candle-5.htm.

A beginners guide to Dependency Injection by Dhananjay Nene on http://www.theserverside.com/articles/article.tss?l=IoCBeginners.

The Spring series: Introduction to the Spring framework by Naveen Balani on http://www- 128.ibm.com/developerworks/web/library/wa-spring1.

The Spring Framework by Benoy Jose.

Inversion of Control Containersband the Dependency Injection pattern by Martin Fowler.

Migrate J2EE Applications for EJB 3.0 by Debu Panda on JavaPro.

EJB 3.0 in a nutshell by Anil Sharma on JavaWorld.

Preparing for EJB 3.0 by Mike Keith on ORACLE Technology Network.

Simplify enterprise Java development with EJB 3.0 by Michael Juntao Yuan on JavaWorld.

J2SE: New I/O by John Zukowski on http://java.sun.com/developer/technicalArticles/releases/nio/.

High-Performance I/O arrives by Danniel F. Savarese on JavaPro.

Hibernate – Proxy Visitor Pattern by Kurtis Williams.

Best Practices for Exception Handling by Gunjan Doshi.

Three Rules for Effective Exception Handling by Jim Cushing.

LDAP and JNDI: Together forever – by Sameer Tyagi.

Introduction To LDAP – by Brad Marshall.

Java theory and practice: Decorating with dynamic proxies by Brian Goetz.

Java Dynamic Proxies: One Step from Aspect-Oriented Programming by Lara D’Abreo.

Java Design Patterns on http://www.allapplabs.com/java_design_patterns .

Software Design Patterns on http://www.dofactory.com/Patterns/Patterns.aspx .

JRun: Core Dump and Dr. Watson Errors on http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17534

The Guerrilla Guide to Interviewing by Joel Spolsky at http://www.joelonsoftware.com/printerFriendly/articles/fog0000000073.html

The Riddle of Job Interviews by Kate Kane at http://www.fastcompany.com/online/01/jobint_Printer_Fiendly.html

An Introduction to Aspect-Oiented Programming with the Spring Framework, Part 1 by Russell Miles at http://www.onjava.com/lpt/a/4994

5 Habits Of Best Software Developers by Angusman Chakraborty at http://blog.taragana.com/index.php/archive/5-habits-of-best- doftware-developers/

Getting started with Hibernate by Alan P Saxton at http://www.cs.bham.ac.uk/~aps/syllabi/2004_2005/issws/h03/hibernate.html

Hibernate Tips by Jason Carreira at http://jroller.com/page/jcarreira/20050223

Five Things I Love About Spring by Bruce A. Tate at http://www.onjava.com/lpt/a/5833

Service-oriented modeling and architecture by Ali Arsanjani , Ph.D at http://www- 128.ibm.com/developerworks/webservices/library/ws-soa-design1/

Delving into Service-Oriented Architecture by Bernhad Borges, Kerrie Holley and Ali Arsanjani at http://www.developer.com/design/print.php/10925_3409221_1

SOA: Are We Reinventing the Wheel? By Nick Simha at http://dev2dev.bea.com/lpt/a/435

Getting a little closer to SOA by Fabrice Marguerie at http://madgeek.com/Articles/SOA/EN/SOA-Softly.html

What is sevice-oriented architecture by Raghu R. Kodali at http://www.javaworld.com/javaworld/jw-06-2005/jw-0613-soa_p.html

RESOURCES

351

J2EE-Supported Web Service standards and Technologies by Vijay Ramachandran, Sean Brydon, Greg Murray. Inderjeet Singh, Beth Stearns, Thierry Violleau.

J2EE 1.4 eases Web service development by Frank Sommers at http://www.javaworld.com/javaworld/jw-06-2003/jw-0620- webservices_p.html

A developer’s introduction to JAX-RPC, Part 1 & 2 by Joshy Joseph at http://www128.ibm.com/developerworks/webservices/library/

Developing Web Services with Java 2 Platform, Enterprise Edition (J2EE) 1.4 Platform by Qusay H. Mahmoud at http://java.sun.com/developer/technicalArticles/J2EE/j2ee_ws/

Scriptless JSP Pages: The Front Man by Bear Bibeault at http://www.javaranch.com/journal/200603/Journal200603.jsp

Advanced DAO programming by Sean Sullivan at http://www-128.ibm.com/developerworks/library/j-dao/

Understanding JavaServer Pages Model 2 architecture by Govind Seshadri at http://www.javaworld.com/javaworld/jw-12-1999/jw- 12-ssj-jspmvc_p.html

A Fast Introduction to Basic Servlet Programming by Marty Hall at http://www.informit.com/articles/printerfriendly.asp/p=29817&r1=1

What’s new in J2Se 5.0? based on Joshua Bloch’s on-line talk.

Introducing Java 5 by Andy Grant at http://www.sitepoint.com/print/introducing-java-5

Experiences with the New Java 5 Language Features by Jess Garms and Tim Hanson at http://dev2dev.bea.com/lpt/a/442

Five Favorite Features from 5.0 by David Flanagan at http://www.onjava.com/lpt/a/5799

First among equals by Kevlin Henney at http://www.regdeveloper.com/2005/12/29/first_among_equals/print.html

Painting in AWT and Swing by Amy Fowler.

A Hands-On Introduction for Developers by Randy Miller at http://bdn.borland.com/article/0,1410,31863,00.html

www.javaworld.com articles.

http://www-128.ibm.com/developerworks/java articles.

http://www.devx.com/java articles.

www.theserverside.com/tss articles.

http://javaboutique.internet.com/articles articles.

Books

Beginning Java 2 by Ivor Horton.

Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (GoF) .

UML Distilled by Martin Fowler, Kendall Scott .

Mastering Enterprise Java Beans II by Ed Roman, Scott Ambler, Tyler Jewell, Floyd Marinescu.

EJB Design Patterns by Floyd Marinescu .

Sun Certified Enterprise Architect for J2EE Technology Study Guide by Mark Cade and Simon Roberts.

Professional Java Server Programming - J2EE edition by Wrox publication.

Design Patterns Java Companion by James W. Cooper (Free download: http://www.patterndepot.com/put/8/JavaPatterns.htm).

Test Driven Development – By Example, by Kent Beck.

Effective Java – programming language guide by Joshua Bloch

352

INDEX

 

 

 

 

INDEX

Emerging Technologies/Frameworks

Briefly explain key features of the JavaServer Faces (JSF)

framework?

339

Explain Object-to-Relational (O/R) mapping?

323

Explain some of the pitfalls of Hibernate and explain how to

avoid them?

333

Give an overview of hibernate framework?

324

Give an overview of the Spring framework?

334

How would EJB 3.0 simplify your Java development

 

compared to EJB 1.x, 2.x?

337

How would the JSF framework compare with the Struts

 

framework?

341

What are the benefits of IoC (aka Dependency Injection)?

 

322

What are the differences between OOP and AOP?

317

What are the different types of dependency injections? 321

What are the pros and cons of annotations over XML based

deployment descriptors?

318

What is aspect oriented programming? Explain AOP?

313

What is attribute or annotation oriented programming? 317

What is inversion of control (IoC) (also known as

 

dependency injection)?

319

What is Test Driven Development (TDD)?

312

What is the difference between a service locator pattern

 

and an inversion of control pattern?

323

What is the point of Test Driven Development (TDD)? 313

What is XDoclet?

319

Why dependency injection is more elegant than a JNDI

 

lookup to decouple client and the service?

323

Enterprise - Best practices and performance

 

considerations

 

Explain some of the J2EE best practices to improve

 

performance?

223

Explain some of the J2EE best practices?

222

Give some tips on J2EE application server performance

 

tuning?

222

Enterprise - EJB 2.x

Can an EJB client invoke a method on a bean directly? 168

Discuss EJB container security?

174

Explain EJB architecture?

165

Explain exception handling in EJB?

172

Explain lazy loading and dirty marker strategies?

179

How can we determine if the data is stale (for example

 

when using optimistic locking)?

174

How do you rollback a container managed transaction in

EJB?

173

How to design transactional conversations with session

 

beans?

172

What are EJB best practices?

176

What are isolation levels?

170

What are not allowed within the EJB container?

174

What are the implicit services provided by an EJB

 

container?

170

What are transactional attributes?

170

What is a business delegate? Why should you use a

 

business delegate?

176

What is a distributed transaction? What is a 2-phase

 

commit?

171

What is a fast-lane reader?

178

What is a Service Locator?

178

What is a session façade?

177

What is a value object pattern?

177

What is dooming a transaction?

171

What is the difference between Container Managed

 

Persistence (CMP) and Bean Managed Persistence

 

(BMP)?

168

What is the difference between EJB 1.1 and EJB 2.0? What

is the difference between EJB 2.x and EJB 3.0?

169

What is the difference between EJB and JavaBeans? 164 What is the difference between optimistic and pessimistic

concurrency control?

173

What is the difference between session and entity beans?

What is the difference between stateful and stateless

168

 

session beans?

168

What is the role of EJB 2.x in J2EE?

163

Enterprise - J2EE

 

Explain J2EE class loaders?

105

Explain MVC architecture relating to J2EE?

99

Explain the J2EE 3-tier or n-tier architecture?

97

So what is the difference between a component and a

 

service you may ask?

96

What are ear, war and jar files? What are J2EE Deployment

Descriptors?

101

What is J2EE? What are J2EE components and services?

What is the difference between a Web server and an

95

 

application server?

101

Why use design patterns in a J2EE application?

101

Enterprise - JDBC

 

Explain differences among java.util.Date, java.sql.Date,

 

java.sql.Time, and java.sql.Timestamp?

153

How to avoid the “running out of cursors” problem?

152

What are JDBC Statements? What are different types of

statements? How can you create them?

147

What is a Transaction? What does setAutoCommit do? 147

What is JDBC? How do you connect to a database?

145

What is the difference between JDBC-1.0 and JDBC-2.0? What are Scrollable ResultSets, Updateable ResultSets,

RowSets, and Batch updates?

152

What is the difference between statements and prepared

statements?

153

Enterprise - JMS

Discuss some of the design decisions you need to make

regarding your message delivery?

186

Give an example of a J2EE application using Message

 

Driven Bean with JMS?

189

How JMS is different from RPC?

180

What are some of the key message characteristics defined

in a message header?

184

What is Message Oriented Middleware? What is JMS? 180

What type of messaging is provided by JMS?

185

Enterprise - JNDI & LDAP

 

Explain the difference between the look up of “java

 

comp/env/ejb/MyBean” and “ejb/MyBean”?

156

Explain the RMI architecture?

159

How will you pass parameters in RMI?

161

What are the differences between RMI and a socket? 161

What are the services provided by the RMI Object?

161

What is a JNDI InitialContext?

156

What is a remote object? Why should we extend

 

UnicastRemoteObject?

160

What is an LDAP server? And what is it used for in an

 

enterprise environment?

156

What is HTTP tunnelling or how do you make RMI calls

 

across firewalls?

161

INDEX

353

What is JNDI? And what are the typical uses within a J2EE

application?

155

What is the difference between RMI and CORBA?

161

Why use LDAP when you can do the same with relational

database (RDBMS)?

157

Enterprise - JSP

 

Explain hidden and output comments?

139

Explain the life cycle methods of a JSP?

133

How will you avoid scriptlet code in JSP?

144

Is JSP variable declaration thread safe?

139

Tell me about JSP best practices?

143

What are custom tags? Explain how to build custom tags?

 

140

What are implicit objects and list them?

137

What are the differences between static and a dynamic

 

include?

137

What are the different scope values or what are the

 

different scope values for <jsp

 

usebean> ?

137

What are the main elements of JSP? What are scriplets?

What are expressions?

134

What is a JSP? What is it used for? What do you

 

understand by the term JSP translation phase or

 

compilation phase?

126

What is a TagExtraInfo class?

142

What is the difference between custom JSP tags and

 

Javabeans?

142

Enterprise - Logging, testing and deployment

 

Enterprise - Logging, testing and deployment

226

Give an overview of log4J?

225

How do you initialize and use Log4J?

225

What is the hidden cost of parameter construction when

 

using Log4J?

225

What is the test phases and cycles?

226

Enterprise - Personal

 

Have you used any load testing tools?

228

Tell me about yourself or about some of the recent projects

you have worked with? What do you consider your most

significant achievement? Why do you think you are

 

qualified for this position? Why should we hire you and

what kind of contributions will you make?

228

What operating systems are you comfortable with? 228, 229

What source control systems have you used?

228

Which on-line technical resources do you use to resolve

 

any design and/or development issues?

229

Enterprise - RUP & UML

 

Explain the 4 phases of RUP?

206

What are the characteristics of RUP? Where can you use

RUP?

208

What are the different types of UML diagrams?

208

What is RUP?

206

What is the difference between a collaboration diagram and

a sequence diagram?

213

What is the difference between aggregation and

 

composition?

213

When to use ‘use case’ diagrams?

209

When to use activity diagrams?

213

When to use class diagrams?

209

When to use interaction diagrams?

211

When to use object diagrams?

210

When to use package diagrams?

210

When to use statechart diagram?

212

Why is UML important?

208

Enterprise - Servlet

Briefly discuss the following patterns Composite view, View

helper, Dispatcher view and Service to worker? Or

 

explain J2EE design patterns?

123

Explain declarative security for Web applications?

122

Explain Servlet URL mapping?

125

Explain the directory structure of a Web application?

114

Explain the Front Controller design pattern or explain J2EE

design patterns?

122

Explain the life cycle methods of a servlet?

113

How do you get your servlet to stop timing out on a really

long database query?

118

How do you make a Servlet thread safe? What do you need

to be concerned about with storing data in Servlet

 

instance fields?

117

How would you get the browser to request for an updated

page in 10 seconds?

109

HTTP is a stateless protocol, so, how do you maintain

 

state? How do you store user data between requests?

If an object is stored in a session and subsequently you

110

 

change the state of the object, will this state change

 

replicated to all the other distributed sessions in the

 

cluster?

121

What are the considerations for servlet clustering?

120

What are the different scopes or places where a servlet can

save data for its processing?

110

What are the ServletContext and ServletConfig objects?

 

What are Servlet environment objects?

115

What are the two objects a servlet receives when it accepts

a call from its client?

109

What can you do in your Servlet/JSP code to tell browser

not to cache the pages?

109

What is a filter, and how does it work?

121

What is a RequestDispatcher? What object do you use to

forward a request?

119

What is pre-initialization of a Servlet?

119

What is the difference between CGI and Servlet?

108

What is the difference between doGet () and doPost () or

GET and POST?

115

What is the difference between forwarding a request and

redirecting a request?

119

What is the difference between HttpServlet and

 

GenericServlet?

116

What is the difference between request parameters and

 

request attributes?

109

Which code line should be set in a response object before

using the PrintWriter or the OutputStream?

110

Enterprise - Software development process

What software development processes/principles are you

familiar with?

230

Enterprise - SQL, Tuning and O/R mapping

 

Explain a sub-query? How does a sub-query impact on

 

performance?

198

Explain inner and outer joins?

197

How can you performance tune your database?

199

How do you implement one-to-one, one-to-many and many-

to-many relationships while designing tables?

199

How do you map inheritance class structure to relational

data model?

201

How will you map objects to a relational database? How will

you map class inheritance to relational data model? 200

What is a view? Why will you use a view? What is an

 

aggregate function?

201

What is normalization? When to denormalize?

199

Enterprise - Struts

 

Are Struts action classes thread-safe?

216

Give an overview of Struts?

214

How do you implement internationalization in Struts?

216

How do you upload a file in Struts?

216

What design patterns are used in Struts?

217

What is a synchronizer token pattern in Struts or how will

you protect your Web against multiple submissions? 215

What is an action mapping in Struts? How will you extend

Struts?

217

Enterprise - Web and Application servers

 

Explain Java Management Extensions (JMX)?

219

What application servers, Web servers, LDAP servers, and

Database servers have you used?

218

What is a virtual host?

218

What is application server clustering?

219

What is the difference between a Web server and an

 

application server?

218

354

INDEX

Enterprise - Web and Applications servers

 

Explain some of the portability issues between different

 

application servers?

220

Enterprise - XML

 

Explain where your project needed XML documents?

196

How do you write comments in an XML document?

195

What is a CDATA section in an XML?

194

What is a namespace in an XML document?

195

What is a valid XML document?

195

What is a version information in XML?

194

What is a well-formed XML document?

195

What is the difference between a SAX parser and a DOM

parser?

190

What is XML? And why is XML important?

190

What is XPATH? What is XSLT/XSL/XSL-FO/XSD/DTD

 

etc? What is JAXB? What is JAXP?

191

What is your favorite XML framework or a tool?

196

Which is better to store data as elements or as attributes?

 

191

Why use an XML document as opposed to other types of

documents like a text file etc?

196

How would you go about...?

How would you go about applying the design patterns in

your Java/J2EE application?

253

How would you go about applying the Object Oriented (OO)

design concepts in your Java/J2EE application?

247

How would you go about applying the UML diagrams in

 

your Java/J2EE project?

249

How would you go about describing the open source

 

projects like JUnit (unit testing), Ant (build tool), CVS (version control system) and log4J (logging tool) which

are integral part of most Java/J2EE projects?

292

How would you go about describing the software

 

development processes you are familiar with?

251

How would you go about describing Web services? 3, 299

How would you go about designing a Java/J2EE

 

application?

240

How would you go about designing a Web application

 

where the business tier is on a separate machine from the presentation tier. The business tier should talk to 2 different databases and your design should point out the

different design patterns?

286

How would you go about determining the enterprise

 

security requirements for yor Java/J2EE application?287

How would you go about documenting your Java/J2EE

 

application?

239

How would you go about identifying any potential thread-

safety issues in your Java/J2EE application?

245

How would you go about identifying any potential transactional issues in your Java/J2EE application? 246

How would you go about identifying performance and/or

 

memory issues in your Java/J2EE application?

243

How would you go about improving performance in your

 

Java/J2EE application?

244

How would you go about minimizing memory leaks in your

Java/J2EE application?

244

Java

 

Briefly explain high-level thread states?

58

Discuss the Java error handling mechanism? What is the

difference between Runtime (unchecked) exceptions

 

and checked exceptions? What is the implication of

 

catching all the exceptions with the type “Exception”? 53

Explain different ways of creating a thread?

57

Explain Java class loaders? Explain dynamic class loading?

Explain Outer and Inner classes (or Nested classes) in

15

 

Java? When will you use an Inner Class?

49

Explain some of the new features in J2SE 5.0, which

 

improves ease of development

65

Explain static vs dynamic class loading?

16

Explain the assertion construct?

24

Explain the Java Collections Framework?

26

Explain the Java I/O streaming concept and the use of the

decorator design pattern in Java I/O?

42

Explain threads blocking on I/O?

61

Give a few reasons for using Java?

14

Give an example where you might use a static method? 46 How can threads communicate with each other? How would you implement a producer (one thread) and a consumer

(another thread) passing data (via stack)?

59

How can you improve Java I/O performance?

44

How do you express an ‘is a’ relationship and a ‘has a’

 

relationship or explain inheritance and composition?

 

What is the difference between composition and

 

aggregation?

18

How does Java allocate stack and heap memory? Explain

re-entrant, recursive and idempotent

 

methods/functions?

48

How does the Object Oriented approach improve software

development?

18

How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply? What is the difference between synchronized method and

synchronized block?

58

How will you call a Web server from a stand alone Java

 

application?

64

If 2 different threads hit 2 different synchronized methods in an object at the same time will they both continue? 61

If you have a circular reference of objects, but you no longer reference it from an execution thread, will this object be a potential candidate for garbage collection?

53 What are “static initializers” or “static blocks with no function

names”?

17

What are access modifiers?

46

What are some of the best practices relating to Java

 

collection?

30

What are the advantages of Object Oriented Programming

Languages (OOPL)?

18

What are the benefits of the Java Collections Framework?

 

29

What are the flow control statements in Java

55

What are the non-final methods in Java Object class, which

are meant primarily for extension?

34

What are the usages of Java packages?

15

What do you know about the Java garbage collector? When

does the garbage collection occur? Explain different

 

types of references in Java?

51

What do you mean by polymorphism, inheritance,

 

encapsulation, and dynamic binding?

19

What is a daemon thread?

59

What is a factory pattern?

62

What is a final modifier? Explain other Java modifiers?

46

What is a singleton pattern? How do you code it in Java? 61

What is a socket? How do you facilitate inter process

 

communication in Java?

64

What is a user defined exception?

55

What is design by contract? Explain the assertion

 

construct?

22

What is serialization? How would you exclude a field of a

 

class from serialization or what is a transient variable?

What is the common use?

41

What is the difference between “==” and equals(…)

 

method? What is the difference between shallow

 

comparison and deep comparison of objects?

33

What is the difference between aggregation and

 

composition?

19

What is the difference between an abstract class and an

 

interface and when should you use them?

24

What is the difference between an instance variable and a static variable? Give an example where you might use a

static variable?

46

What is the difference between C++ and Java?

14

What is the difference between constructors and other regular methods? What happens if you do not provide a

INDEX

355

constructor? Can you call one constructor from another?

How do you call the superclass’ constructor?

17

What is the difference between final, finally and finalize() in

Java?

47

What is the difference between processes and threads? 56

What is the difference between yield and sleeping?

58

What is the main difference between a String and a

 

StringBuffer class?

38

What is the main difference between an ArrayList and a Vector? What is the main difference between HashMap

and Hashtable?

25

What is the main difference between pass-by-reference and

pass-by-value?

40

What is the main difference between shallow cloning and

 

deep cloning of objects?

45

What is the main difference between the Java platform and

the other software platforms?

14

What is type casting? Explain up casting vs down casting?

When do you get ClassCastException?

50

When is a method said to be overloaded and when is a

 

method said to be overridden?

25

When providing a user defined key class for storing objects in the HashMaps or Hashtables, what methods do you have to provide or override (i.e. method overriding)? 36

When should you use a checked exception and when

 

should you use an unchecked exception

55

When to use an abstract class?

25

When to use an interface?

25

Where and how can you use a private constructor?

46

Why is it not advisable to catch type “Exception”?

54

Why should you catch a checked exception late in a catch

{} block?

55

Why should you throw an exception early?

54

Why there are some interfaces with no defined methods

 

(i.e. marker interfaces) in Java?

25

Why would you prefer a short circuit “&&, ||” operators over

logical “& , |” operators

47

Java - Applet

 

How will you communicate between two Applets?

76

How will you initialize an applet?

76

How would you communicate between applets and

 

servlets?

76

What is a signed Applet?

76

What is the difference between an applet and an

 

application?

77

What is the order of method invocation in an applet?

76

Java - Performance and Memory issues

 

How would you detect and minimize memory leaks in Java? 81

How would you improve performance of a Java application? 78 Why does the JVM crash with a core dump or a Dr.Watson

error?

81

Java - Personal

 

Did you have to use any design patterns in your Java

 

project?

83

Do you have any role models in software development? 88

How do you handle pressure? Do you like or dislike these

situations?

85

Java – Behaving right in an interview

89

Tell me about yourself or about some of the recent projects you have worked with? What do you consider your most significant achievement? Why do you think you are qualified for this position? Why should we hire you and

what kind of contributions will you make?

83

What are your career goals? Where do you see yourself in

5-10 years?

85

What do you like and/or dislike most about your current

 

and/or last position?

84

What past accomplishments gave you satisfaction? What

 

makes you want to work hard?

88

What was the last Java related book or article you read? 87

Which Java related website(s) or resource(s) do you use to

keep your knowledge up to date beyond Google

88

Why are you leaving your current position?

84

Why do you want to work for us?

88

Java - Swing

 

Explain layout managers?

74

Explain the Swing Action architecture?

70

Explain the Swing delegation event model?

75

Explain the Swing event dispatcher mechanism?

73

How does Swing painting happen? How will you improve

 

the painting performance?

70

How will you go about building a Swing GUI client

69

If you add a component to the CENTER of a border layout,

which directions will the component stretch?

72

What do you understand by MVC as used in a JTable? 74

What is the base class for all Swing components?

72

What is the difference between AWT and Swing?

69

Java/J2EE - Personal

What are your strengths and weaknesses? Can you describe a situation where you took initiative? Can you describe a situation where you applied your problem

solving skills?

85

Key Points

 

Enterprise - Key Points

233

Java - Key Points

91

356

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]