`

j2ee questions

    博客分类:
  • java
 
阅读更多
1.What is Test Driven Development (TDD)?
优点:在任意一个开发节点都可以拿出一个可以使用,含少量bug并具一定功能的产品。
  缺点:增加代码量。测试代码是系统代码的两倍或更多。
  TDD = TFD + Refactoring
  (TFD -- Test First Development)

2.What is the point of Test Driven Development (TDD)? What do you think of TDD
What is aspect oriented programming (AOP)? Do you have any experience with AOP?
http://baike.baidu.com/view/76310.htm#sub8243857

3.What are the differences between OOP and AOP?
AOP、OOP在字面上虽然非常类似,但却是面向不同领域的两种设计思想。OOP(面向对象编程)针对业务处理过程的实体及其属性和行为进行抽象封装,以获得更加清晰高效的逻辑单元划分。
  而AOP则是针对业务处理过程中的切面进行提取,它所面对的是处理过程中的某个步骤或阶段,以获得逻辑过程中各部分之间低耦合性的隔离效果。这两种设计思想在目标上有着本质的差异。

4.What are the benefits of AOP?
http://baike.baidu.com/view/73626.htm

5.What is attribute or annotation oriented programming?

6.What are the pros and cons of annotations over XML based deployment descriptors?

7.What is XDoclet?
XDoclet是一个开源项目,可以从这里得到他:http://xdoclet.sourceforge.net/xdoclet/ 。 XDoclet可以通过你在java源代码中的一些特殊的注释信息,自动为你生成配置文件、源代码等等,例如web、ejb的部署描述文件、为你生成struts的struts-config.xml配置文件、javascript校验等

8.What is inversion of control (IoC) (also known more specifically as dependency injection)?

9.What are the different types of dependency injections?

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

11.What is the difference between a service locator pattern and an inversion of control pattern?
http://blog.csdn.net/dongtg/article/details/1748110

12.Why dependency injection is more elegant than a JNDI lookup to decouple client and the service?

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

14.Give an overview of hibernate framework?

15.Explain some of the pitfalls of Hibernate and explain how to avoid them?

16.Give some tips on Hibernate best practices?

17.Give an overview of the Spring framework? What are the benefits of Spring framework?

18.Briefly explain key features of the JavaServer Faces (JSF) framework?

19.What is a Service Oriented Architecture (SOA)?
http://baike.baidu.com/view/21305.htm#sub5033544

20.Explain the J2EE 3-tier or n-tier architecture? What's the advantage?
Explain MVC architecture relating to J2EE?

21.HTTP is a stateless protocol, so, how do you maintain state? How do you store user data between requests?

22.What are ear, war and jar files? What are J2EE Deployment Descriptors?
http://blog.csdn.net/gideal_wang/article/details/6066780

23.Session tracking uses cookies by default. What would you do if the cookies are turned off?
http://blog.csdn.net/zlsunnan/article/details/133386

24.Explain the life cycle methods of a servlet?

25.What is the difference between doGet () and doPost () or GET and POST?

26.What is the difference between forwarding a request and redirecting a request?

27. What is a filter, and how does it work?
http://blog.csdn.net/gxf212/article/details/877047

28. What is client-side vs. server-side validation?

29.How do you prevent multiple submits due to repeated “refresh button” clicks?

30. Tell me about JSP best practices?

31.What is JDBC? How do you connect to a database? Have you used a Data Access Object (i.e. DAO) pattern?

32.What are JDBC Statements? What are different types of statements? How can you create them? What is the difference between statements and prepared statements?
http://blog.csdn.net/army27/article/details/5012635

33.What is a Transaction?What is a distributed transaction? How does it differ from a local transaction?
http://qify.iteye.com/blog/315619
ACID,是指在数据库管理系统(DBMS)中事务所具有的四个特性:原子性(Atomicity)、一致性(Consistency)、隔离性(Isolation,又称独立性)、持久性(Durability)。

34.What is JNDI? How do you uses within a J2EE application?
http://blog.csdn.net/h72001346/article/details/3474381

35.What is application server clustering?  What's the benefit?
http://vvovv.iteye.com/blog/1490639

36.How would the JSF framework compare with the Struts framework? How would a Spring MVC framework compare with Struts framework?
分享到:
评论

相关推荐

    java j2ee questions

    《Java/J2EE Job Interview Companion》是由K.Arulkumaran和A.Sivayini合著的一本针对Java/J2EE技术领域求职者准备面试的指南。本书涵盖Java的核心概念、企业级Java技术(J2EE)、以及相关框架等知识,旨在帮助读者...

    Java/J2EE interview questions

    Java/J2EE interview questions这本书是为准备面试的Java开发者准备的,涵盖了核心概念、设计和编码问题,以及如何应对面试中可能遇到的问题。 核心概念包括Java语言基础,比如Java语言的基本原则、语法、核心库的...

    J2EE Interview Questions

    ### J2EE面试问题:核心Java、EJB、JSP、Servlets、Struts、Hibernate、JDBC及相关信息 #### 一、核心Java - **基础知识**:熟悉面向对象编程的基本概念如封装、继承和多态;掌握类与对象的概念;了解接口和抽象类...

    J2EE架构师的SCEA认证经验

    比如可以下载 SCEA Practice Questions 来进行练习。 #### 备考建议 - **时间规划**:合理安排复习时间,确保每天都有固定的学习时间。 - **强化英语能力**:由于大多数学习资料和参考资料都是英文的,因此具备...

    j2ee.rar_made

    Quiz thismismused to conduct quiz competition, this is a ready made n easy to change questions as well as answers

    同花顺java面试笔试题-Interview-Questions:Java面试问题

    同花顺java面试笔试题Java、J2EE、JSP、Servlet、Hibernate 面试题 如果您喜欢该项目,请单击。 拉取请求受到高度赞赏。 目录 问:异常的类型有哪些? 解释 Java Exception 类的层次结构? 异常是一种错误事件,它...

    计算机专业英语资料很好的

    4. **Topic 1 B Questions.doc**:这部分可能涉及的是与软件开发平台比较相关的问题,比如Microsoft .NET与Java 2 Enterprise Edition (J2EE)之间的差异,包括开发工具、运行环境、多层架构支持、部署灵活性等方面的...

    同花顺java面试笔试题-java-interview-questions:java面试题

    同花顺java面试笔试题Java、J2EE、JSP、Servlet、Hibernate 面试题 如果您喜欢该项目,请单击。 拉取请求受到高度赞赏。 目录 问:异常的类型有哪些? 解释 Java Exception 类的层次结构? 异常是一种错误事件,它...

    java面试题笔试题-java-interview-questions:1000多个Java面试问题

    java面试题笔试题Java、J2EE、JSP、Servlet、Hibernate 面试题 如果您喜欢该项目,请单击。 拉取请求受到高度赞赏。 目录 问:异常的类型有哪些? 解释 Java Exception 类的层次结构? 异常是一种错误事件,它可能在...

    java中异常的笔试题-java_interview_questions:发表于https://sathish2905.github.io/j

    java中异常的笔试题Java、J2EE、JSP、Servlet、Hibernate 面试问答 如果您喜欢该项目,请单击。 拉取请求受到高度赞赏。 目录 问:异常的类型有哪些? 解释 Java Exception 类的层次结构? 异常是一种错误事件,它...

    Ajax基础教程源码

    The examples can be run in any J2EE 1.3 servlet container like Jakarta Tomcat. All of the pre-built WAR files were compiled against JDK 1.4, thus JDK 1.4 or newer is required to run them. The source ...

    Apache MINA 1.1.0

    Our mailing list is very active, and the community is very happy to answer any questions you may have. Of course, patches to improve the documentation are always welcome! <br/>

    SCWCD-model1.pdf

    However, based on the pattern of the questions, we can infer that this question might test the understanding of another aspect of Java, such as method overriding, method overloading, or anonymous ...

    Ajax 基礎教程 (Foundations of Ajax)

    The examples can be run in any J2EE 1.3 servlet container like Jakarta Tomcat. All of the pre-built WAR files were compiled against JDK 1.4, thus JDK 1.4 or newer is required to run them. The source ...

    SCWCD-310-081.pdf

    These questions cover fundamental aspects of developing web components using J2EE, focusing on servlets, JSPs, and security. Understanding these concepts is crucial for anyone preparing for the SCWCD ...

    UML工具介绍大全截止2010

    - **厂商地址**:[http://www.manyeta.com/en/Technology/codagen_architect_v3.2/frequently_asked_questions](http://www.manyeta.com/en/Technology/codagen_architect_v3.2/frequently_asked_questions) ...

    leetcode分类-leetcode:开始刷leetcode了。之前一直在玩SQL,现在得好好看看Java算法了

    由于习惯了Maven的环境配置,J2EE的导包配置反而不会了,所以这里使用的框架是SpringBoot。通过一个个的单元测试构成整个练习题项目的内容。 放心,这个项目没有加任何其他JAR包,估计打了包也不准用。所以就在...

    BestNote:持续更新,Java Android近几年最全面的技术点以及面试题供自己学习使用

    15. **J2EE**(Java 2 Platform, Enterprise Edition):Java的服务器端开发平台,包含多种企业级服务。 16. **Interview Questions**:面试问题,可能包括技术问题、项目经验以及职业素养等方面的题目。 17. **...

Global site tag (gtag.js) - Google Analytics