不一定,如果你只用J2EE里面的JSP,SERVLET,JDBC等部分,只用WEB服务器就可以架起你的程序来TOMCAT等
解决方案 »
- 如何获取Tomcat的安装路径?
- struts2 的标签<s:property value=''/> escape 属性
- sql面试题 请看图
- WorkFlow中,审批结果已经写入数据库,但是不知道怎么回事,又回滚了?急!急!急!
- hibernate 批量删除 服务器停止响应!
- 经验1.5年,找工作在网上投简历好还是到人才市场找好
- 有个超链接 像点击提交到一个servlet
- 如何用POI在Excel中的同一单元格(cell)中设置多种字体?
- 请教一个微信接口开发的问题,有谁能帮我解答一下
- 写入到XML文件的问题
- 哪里有 WEBLogic 的教材啊?中文的那种,适合初学者的
- 如何判断字符串是否包含字符“#",并返回其位置?
如果要运行EJB那么必须使用象J2EE、Weblogic或WebSphere 这样的服务器,而Weblogic、WebSphere 又充当中间件的角色。J2EE用来解决分布的企业级方案,它是一种n层结构。
它的优点在于:
1、平台独立性
2、可重用性
3、模块化
其实我看吧。一种语言的存在必定有他的原因。讨论的这个话题够大。呵呵
在介绍servlet jsp
再介绍ejb
再是xml soap corba
再讲一点安全的知识
再列个例子
再是附录a b .............
结束!
J2EE适合于:EBUSINESS
ERP
WORKFLOW
所以J2EE并不是万能的,但是它是适合于大型企业的。为什么现在这么多人学它,就是因为这个市场好做,而且J2EE相对来说稳定,开发迅速,并有一定开放性。
ejb的核心在于复用性和透明性当你开发过大的系统 你就会体会把各个层次分清楚对开发有多大的好处
表示层->jsp,html
业务逻辑程->ejb
数据层->你的数据库
推荐看MasterEJB2写得很详细
绝对值的一看
J2ee是一个分布式体系结构,与.NET一样,主要是面向企业集应用的,jsp只是服务器端一种脚本语言,主要用于网页显示,是面向浏览器的。而j2ee的体系结构是由客户端(browser等等)+jsp(负责客户端显示+web服务器)&ejb(用于封装企业业务逻辑+应用服务器(weblogic/websphere))+数据服务器!组成的!
------------------------------------------------------------------------
我觉得 cool_ice(冷冰) 所说的有点问题,我觉得ejb这里有了weblogic,jsp的那边就可以不用web服务器了啊,应该是对的吧。
MasterEJB2
Q: What is the JavaTM 2 Platform, Enterprise Edition (J2EETM)?
JavaTM 2 Platform, Enterprise Edition (J2EETM) is a set of coordinated specifications and practices that together enable solutions for developing, deploying, and managing multi-tier server-centric applications. Building on the JavaTM 2 Platform, Standard Edition (J2SETM), J2EE adds the capabilities necessary to provide a complete, stable, secure, and fast Java platform to the enterprise level. It provides value by significantly reducing the cost and complexity of developing and deploying multi-tier solutions, resulting in services that can be rapidly deployed and easily enhanced. Q: What are the main benefits of J2EE?
J2EE provides the following:
Faster solutions delivery time to et. J2EE uses "containers" to simplify development. J2EE containers provide for the separation of business logic from resource and lifecycle management, which means that developers can focus on writing business logic -- their value add -- rather than writing enterprise infrastructure. For example, the Enterprise JavaBeansTM (EJBTM) container (implemented by J2EE technology vendors) handles distributed communication, threading, scaling, transaction management, etc. Similarly, Java Servlets simplify web development by providing infrastructure for component, communication, and session management in a web container that is integrated with a web server.
Freedom of choice. J2EE technology is a set of standards that many vendors can implement. The vendors are free to compete on implementations but not on standards or APIs. Sun supplies a comprehensive J2EE Compatibility Test Suite (CTS) to J2EE licensees. The J2EE CTS helps ensure compatibility among the application vendors which helps ensure portability for the applications and components written for J2EE. J2EE brings Write Once, Run AnywhereTM (WORATM) to the server.
Simplified connectivity. J2EE technology makes it easier to connect the applications and systems you already have and bring those capabilities to the web, to cell phones, and to devices. J2EE offers Java Message Service for integrating diverse applications in a loosely coupled, asynchronous way. J2EE also offers CORBA support for tightly linking systems through remote method calls. In addition, J2EE 1.3 adds J2EE Connectors for linking to enterprise information systems such as ERP systems, packaged financial applications, and CRM applications.
By offering one platform with faster solution delivery time to et, freedom of choice, and simplified connectivity, J2EE helps IT by reducing TCO and simultaneously avoiding single-source for their enterprise software needs. Q: What technologies are included in the J2EE platform? The primary technologies in the J2EE platform are: Java TM API for XML-Based RPC (JAX-RPC), JavaServer PagesTM (JSPsTM), Java Servlets, Enterprise JavaBeansTM (EJBsTM), J2EETM Connector Architecture, J2EE Management Model, J2EE Deployment API, Java Management Extensions (JMX), J2EE Authorization Contract for Containers, Java API for XML Registries (JAXR), Java Message Service (JMS), Java Naming and Directory InterfaceTM (JNDITM), Java Transaction API (JTA), CORBA, and JDBCTM data access API. Q: How does J2EE relate to Enterprise JavaBeans technology? Enterprise JavaBeans (EJB) technology is the basis of J2EE. EJB technology provides the scalable architecture for executing business logic in a distributed computing environment. J2EE makes the life of an enterprise developer easier by combining the EJB component architecture with other enterprise technologies to solutions on the Java platform for seamless development and deployment of server side applications.