<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 最新國外J2EE工程師面試題

    時間:2024-08-20 16:09:48 J2EE培訓(xùn) 我要投稿
    • 相關(guān)推薦

    最新國外J2EE工程師面試題集錦

      Question: What is J2EE?

    最新國外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 development 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 tools from http://java.sun.com/.

      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) EJB

      b) Web

      c) application client and

      d) resource adapter

      In 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 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) 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 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 Glossary

      Question: What are the contents of web module?

      Answer: A web module may contain:

      a) JSP files

      b) Java classes

      c) gif and html files and

      d) web component deployment descriptors

      Question: 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 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 container. 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 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, 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 suitable 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 architecture 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 on the J2EE server.

      c) Business-tier components run on the J2EE server and the

      d) Enterprise information system (EIS)-tier software runs on the EIS servers

      Question: Why do understand by a container?

      Answer: Normally, thin-client multi-tiered applications are hard to write because they involve many lines 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 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: http://java.sun.com/j2ee/1.3/docs/tutorial/doc/Overview4.html ).

      In short containers are the interface between a component 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 services provided by container are as follows:

      a) Transaction management for the bean

      b) Security for the bean

      c) Persistence of the bean

      d) Remote access to the bean

      e) Lifecycle management of the bean

      f) Database-connection pooling

      g) Instance pooling for the bean

      Question: What are types of J2EE clients?

      Answer: J2EE clients are the software that access the services components installed on the J2EE container. Following are the J2EE clients:

      a) Applets

      b) Java-Web Start clients

      c) Wireless clients

      d) Web applications

    【最新國外J2EE工程師面試題】相關(guān)文章:

    J2EE高級工程師面試題06-20

    J2EE經(jīng)典面試題及答案08-08

    J2EE面試題及答案「精選」09-20

    2016年J2EE面試題及答案「精選」06-04

    J2EE框架面試題庫11-03

    關(guān)于J2EE MVC方面的面試題及答案07-08

    2017最新國外健身食譜05-30

    Java工程師面試題10-22

    Java工程師面試題及答案10-25

    2017年的Java工程師面試題11-05

    主站蜘蛛池模板: 亚洲精品人成无码中文毛片| 无码精品A∨在线观看| 中日精品无码一本二本三本| 精品一区二区三区高清免费观看| 国产精品免费一区二区三区| 国产精品视频色视频| 牛牛在线精品观看免费正| 亚洲av日韩av天堂影片精品| 久久香综合精品久久伊人| 97久久超碰国产精品旧版| 伊人久久大香线蕉精品| 精品无码久久久久久国产| 亚洲av无码国产精品色午夜字幕 | 国产日韩精品欧美一区喷水| 精品成人免费自拍视频| 精品人妻少妇一区二区| 亚洲国产精品无码av| 国产乱人伦精品一区二区在线观看| 91精品观看91久久久久久| 国产激情精品一区二区三区| 日本精品自产拍在线观看中文| 亚洲一级Av无码毛片久久精品| 久久精品夜夜夜夜夜久久| 88国产精品无码一区二区三区| 国产精品制服丝袜亚洲欧美| 一本一本久久A久久综合精品| 亚洲精品亚洲人成在线观看下载| 好吊妞视频精品| 无码aⅴ精品一区二区三区浪潮| 成人区精品一区二区不卡 | 久久国产乱子精品免费女| 国产成人精品免费视频大| 久久久久无码精品| 青青草原综合久久大伊人精品| 亚洲国产精品不卡毛片a在线| wwwvr高清亚洲精品二区| HEYZO无码综合国产精品227| 亚洲国产精品狼友中文久久久 | 国产精品JIZZ在线观看老狼| 99久久99这里只有免费的精品| 欲帝精品福利视频导航|