2022最新国外J2EE工程师面试题.docx

上传人:l*** 文档编号:22716876 上传时间:2022-06-26 格式:DOCX 页数:9 大小:30.87KB
返回 下载 相关 举报
2022最新国外J2EE工程师面试题.docx_第1页
第1页 / 共9页
2022最新国外J2EE工程师面试题.docx_第2页
第2页 / 共9页
点击查看更多>>
资源描述

《2022最新国外J2EE工程师面试题.docx》由会员分享,可在线阅读,更多相关《2022最新国外J2EE工程师面试题.docx(9页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、2022最新国外J2EE工程师面试题最新国外J2EE工程师面试题集锦Question: What is J2EE?Answer: J2EE Stands for Java 2 Enterprise Edition. J2EE is an environment for developing and deploying enterprise applications. J2EE specification is defined by Sun Microsystems Inc. The J2EE platform is one of the best platform for the develo

2、pment and deployment of enterprise applications. The J2EE platform is consists of a set of services, application programming interfaces (APIs), and protocols, which provides the functionality necessary for developing multi-tiered, web-based applications. You can download the J2EE SDK and development

3、 tools from Question: What do you understand by a J2EE module?Answer: A J2EE module is a software unit that consists of one or more J2EE components of the same container type along with one deployment descriptor of that type. J2EE specification defines four types of modules:a) EJBb) Webc) applicatio

4、n client andd) resource adapterIn the J2EE applications modules can be deployed as stand-alone units. Modules can also be assembled into J2EE applications.Question: Tell me something about J2EE component?Answer: J2EE component is a self-contained functional software unit supported by a container and

5、 configurable at deployment time. The J2EE specification defines the following J2EE components:* Application clients and applets are components that run on the client.* Java servlet and JavaServer Pages (JSP) technology components are Web components that run on the server.* Enterprise JavaBeans (EJB

6、) components (enterprise beans) are business components that run on the server. J2EE components are written in the Java programming language and are compiled in the same way as any program in the language. The difference between J2EE components and ;standard; Java classes is that J2EE components are

7、 assembled into a J2EE application, verified to be well formed and in compliance with the J2EE specification, and deployed to production, where they are run and managed by the J2EE server or client container.Source: J2EE v1.4 GlossaryQuestion: What are the contents of web module?Answer: A web module

8、 may contain:a) JSP filesb) Java classesc) gif and html files andd) web component deployment descriptorsQuestion: Differentiate between .ear, .jar and .war files.Answer: These files are simply zipped file using java jar tool. These files are created for different purposes. Here is the description of

9、 these files:.jar files: These files are with the .jar extenstion. The .jar files contains the libraries, resources and accessories files like property files.war files: These files are with the .war extension. The war file contains the web application that can be deployed on the any servlet/jsp cont

10、ainer. The .war file contains jsp, html, javascript and other files for necessary for the development of web applications.ear files: The .ear file contains the EJB modules of the application.Question: What is the difference between Session Bean and Entity Bean?Answer:Session Bean: Session is one of

11、the EJBs and it represents a single client inside the Application Server. Stateless session is easy to develop and its efficient. As compare to entity beans session beans require few server resources.A session bean is similar to an interactive session and is not shared; it can have only one client,

12、in the same way that an interactive session can have only one user. A session bean is not persistent and it is destroyed once the session terminates.Entity Bean: An entity bean represents persistent global data from the database. Entity beans data are stored into database.Question: Why J2EE is suita

13、ble for the development distributed multi-tiered enterprise applications?Answer: The J2EE platform consists of multi-tiered distributed application model. J2EE applications allows the developers to design and implement the business logic into components according to business requirement. J2EE archit

14、ecture allows the development of multi-tired applications and the developed applications can be installed on different machines depending on the tier in the multi-tiered J2EE environment . The J2EE application parts are:a) Client-tier components run on the client machine.b) Web-tier components run o

15、n the J2EE server.c) Business-tier components run on the J2EE server and thed) Enterprise information system (EIS)-tier software runs on the EIS serversQuestion: Why do understand by a container?Answer: Normally, thin-client multi-tiered applications are hard to write because they involve many lines

16、 of intricate code to handle transaction and state management, multithreading, resource pooling, and other complex low-level details. The component-based and platform-independent J2EE architecture makes J2EE applications easy to write because business logic is organized into reusable components. In

17、addition, the J2EE server provides underlying services in the form of a container for every component type. Because you do not have to develop these services yourself, you are free to concentrate on solving the business problem at hand (Source: ).In short containers are the interface between a compo

18、nent and the low-level platform specific functionality that supports the component. The application like Web, enterprise bean, or application client component must be assembled and deployed on the J2EE container before executing.Question: What are the services provided by a container?Answer: The ser

19、vices provided by container are as follows:a) Transaction management for the beanb) Security for the beanc) Persistence of the beand) Remote access to the beane) Lifecycle management of the beanf) Database-connection poolingg) Instance pooling for the beanQuestion: What are types of J2EE clients?Ans

20、wer: J2EE clients are the software that access the services components installed on the J2EE container. Following are the J2EE clients:a) Appletsb) Java-Web Start clientsc) Wireless clientsd) Web applications本文来源:网络收集与整理,如有侵权,请联系作者删除,谢谢!第9页 共9页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页第 9 页 共 9 页

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 策划方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁