⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overview.xtp

📁 RESIN 3.2 最新源码
💻 XTP
📖 第 1 页 / 共 2 页
字号:
<ul><li>See <a href="ejb.xtp">Resin EJB 3.0</a> documentation</li><li>See <a href="amber.xtp">Amber (JPA)</a> documentation</li></ul><p>Resin's EJB support is fully integrated with Resin-IoC and WebBeans.This integration means you can use only the EJB capabilities you needwithout the overhead of .ear packaging.  (Although, .ears arefully supported.)  A servlet, for example, can use EJB's@TransactionAttribute without any special packaging.</p></s1><s1 title="Server Push (Comet)"><ul><li>See <a href="resin-comet.xtp">Resin Comet</a> documentation.</li></ul><p>As web users are expecting dynamic responses from web sites, theserver push HTTP processing model has become important.  Also calledComet, server push sends event or streaming data from the serverto the client without waiting for a client poll.</p><p>Resin's Comet support focuses on solving the concurrency issues aroundserver push.  Since the servlet is now responding to events from internalservices as well as managing HTTP data, the synchronization issues becomemore complex.  The Resin Comet API is designed to cleanly separate theconcurrency roles, letting the servlet continue to operate as asingle-threaded request, while letting the event services send asynchronousmessages.</p><p>JavaScript browsers and Flash applications are both supported byResin's Comet.  Flash can take advantage of Resin's Hessian supportto stream binary-encoded events.</p></s1><s1 name="jsp" title="JSP 2.1 (Java Server Pages)"><ul><li>See <a href="jsp.xtp">Resin JSP</a> documentation</li></ul><p>Resin's JSP implementation is tightly integrated with the JSTLand JSF implementations.  Because of the tight binding, Resin cangenerate optimized JSP code, improving performance, reducing code sizeand reducing memory consumption.</p><p>Even JSP tag libraries can run faster with Resin's JSP.  Resinbytecode-analyzes your tag libraries to determine which capabilitiesyour actually using, and generates only that code necessary to run thefeatures you're using.</p><p>The JSP implementation aggressively reuses your tag library instances,reducing memory consumption and improving performance.  Because of Resin'sreuse, application libraries must strictly follow the JSP tagspecification.</p><p>Resin-IoC beans are always available through JSP EL expressions.This IoC integration means your custom components and beans are directlyaccessible to your HTML generating code.</p></s1><s1 name="jstl" title="JSTL 1.01 (Java Standard Template Library)"><ul><li>See <a href="jstl.xtp">Resin JSTL</a> documentation</li></ul><p>Resin's JSTL works together with its JSP implementation to provideefficient, generated Java code.  Since Resin's JSP is fully JSTL-aware,it can implement the JSTL tags directly in Java code, without involvingthe overhead of the JSTL tag libraries.</p></s1><s1 name="servlet" title="Servlet 2.5"><ul><li>See <a href="servlet.xtp">Resin servlet</a> documentation</li></ul><p>Since the servlet engine of Resin is built on a Resin-IoC foundation,servlets can use WebBeans dependency injection, event observation, andinterception.  Remember that Resin-IoC is fully integrated with itsEJB support?  By transitivity, Resin servlets automatically have accessto EJB transaction aspects without any extra overhead.</p><p>Remote services are tied into servlet capabilities as well.  Because remoteservices are URL-based, they naturally fit into the the familiar servletprocessing model.  There's no need to introduce complexities like standardEJB deployment or add extra frameworks just to expose a service as a URL.</p></s1><s1 title="Resin Embedding"><ul><li>See <a href="resin-embedding.xtp">Resin embedding</a> documentation</li></ul><p>Resin embedding is a lightweight facade over the core Resin serversuitable for automated testing frameworks and IDE environments.  WithResin's embedded testing interface, your tests can send HTTP requests directlyto the server, skipping the overhead of TCP connections, and savingtime on test setup and teardown.</p><p>The embedded API gives you hooks into Resin-IoC, so you caninject mock services into your tests, and still ensure that your applicationis tested in the full application server environment.  Since integrationtesting uses the actual, deployment environment, elusive production bugsare easier to catch and destroy.</p></s1><s1 title="Resin Remoting"><ul><li>See <a href="resin-remoting.xtp">Resin remoting</a> documentation</li></ul><p>Resin remoting builds on the strengths of the Servlet architecture.As developers turn away from complicated remoting frameworks,the simplicity and elegance of the Servlet model becomes more appealing.Multithreaded, IoC-enabled, designed for HTTP and the web's URLarchitecture, well-known, well-documented, and well-integrated withapplication servers, the Servlet model has enjoyed phenomenal success.</p><p>Services expose remote APIs with the same interfaces and classes theirclients will use, taking advantage of the Java compiler to enforceprotocol compatiblity.  Since Resin remoting protocols are available usinga simple driver API based on Servlets, your services can choose theprotocol to expose at deployment time, whether its a fast, binarywire-protocol like Hessian, or an XML-based wire-protocol like SOAP.Resin remoting clients select the wire-protocol matched with service API,and register with Resin-IoC/WebBeans, soapplication code can obtain the client proxy with simple, typeddependency injection.</p></s1><s1 title="JPA (Java Persistence Architecture)"><ul><li>See <a href="amber.xtp">Resin's Amber</a> documentation</li></ul></s1><s1 title="Resin Watchdog"><ul><li>See <a href="resin-watchdog.xtp">Resin watchdog</a> documentation</li></ul><p>The Resin watchdog service manages each Resin instance, allowing forgraceful recovery and restart from critical server deadlocks and crashes.As a management capability, it offers a centralized interface for starting,stopping, and checking the status of multiple JVM instances.  Because thewatchdog is well-placed to gather information, it is responsible formanagement and logging of the server's debugging or warning messages.</p><p>For unix systems, the watchdog also improves system security.  Whilethe watchdog will run as the root user, Resin JVM instances run aslow-authorization users, protecting your system from application bugsand security holes.</p><p>As a side benefit of the watchdog, JVM parameters like heap settings,agent configuration, remote JMX and system properties can be configuredin the resin.xml itself.  The watchdog can read the same resin.xml asthe server itself, putting all configuration relevant to the server inone location.</p><p>For more complicated configurations like an ISP setting, the watchdogcan use a separate configuration file readable only by root.  The watchdogwill launch Resin JVMs with assigned resin.xml files, ports, and userassignment, protecting each Resin JVM user from each other.</p></s1><s1 name="jms" title="Messaging (JMS 1.1)"><ul><li>See <a href="resin-messaging.xtp">Resin messaging</a> documentation</li></ul><p>Resin's messaging focuses on simplifying the use and deployment ofmessaging applications.  At the core, a messaging system is really justa queue with extra reliability and performance features like persistence,transactions, and clustered distribution.  So Resin providesthe standard queueing APIs like the JDK <code>BlockingQueue</code> asfacades to the JMS API.</p><p>On the receiving end, <code>MessageListener</code> implementations arejust Java services implementing a single <code>onMessage</code> method toreceive the message, so there's no need for complications.  The onlyconfiguration needed is a binding between the service class and thequeue it wants to receive messages from.  Three lines of XML is sufficientfor that binding, with no need for any extra packaging.</p><p>Of course, the message listeners are can use all Resin-IoC capabilities,including injecting JPA <code>EntityManager</code> for database management, orother queues to filter and pass the message along.</p></s1><s1 name="jta" title="Transactions (JTA 1.0.1b)"><p>Resin's transaction manager handles full two-phase XA transactionsuppport, including transaction logging for reliable transaction recovery.The transaction capabilities are integrated throughout Resin, so yourdatabases, JCA connections, and EJBs work together.  Since Resin's<code>UserTransaction</code> and <code>TransactionManager</code> areregistered with Resin-IoC, injecting these managers into any IoC-enabledcomponent is just adding an @In annotation.</p></s1><s1 name="os" title="Operating Systems"><p>Resin and Resin-Professional are tested and supported onthe following operating systems:</p><ul><li>Linux</li><li>Solaris</li><li>Windows</li><li>Mac OS X</li></ul><p>Resin is known to work on the following operating systems:</p><ul><li>AIX</li><li>HP-UX</li><li>Free-BSD</li></ul><p>Resin is used on these operating systems, however there may or may not bedifficulties with Apache integration, and the JNI code that Resin uses toincrease performance may not be available.</p></s1> <!-- os --></body></document>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -