Modified: websites/production/turbine/content/further-reading/index.html ============================================================================== --- websites/production/turbine/content/further-reading/index.html (original) +++ websites/production/turbine/content/further-reading/index.html Wed Nov 22 13:04:39 2017 @@ -1,362 +1,364 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 10 January 2016 --> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Turbine - - Turbine Further Reading</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="Date-Revision-yyyymmdd" content="20160110" /> - <meta http-equiv="Content-Language" content="en" /> - - </head> - <body class="composite"> - <div id="banner"> - <a href=".././" id="bannerLeft"> - <img src="../images/turbine-project.png" alt="Apache Turbine" /> - </a> - <div id="bannerRight"> - <img src="../images/logo.gif" alt="Apache Turbine" /> - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - <div class="xleft"> - <span id="publishDate">Last Published: 10 January 2016</span> - | <span id="projectVersion">Version: 4.0</span> - </div> - <div class="xright"> <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a> - | - <a href=".././" title="Turbine">Turbine</a> - | - <a href="../fulcrum/" title="Fulcrum">Fulcrum</a> - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - <h5>General Information</h5> - <ul> - <li class="none"> - <a href="../index.html" title="Overview">Overview</a> - </li> - <li class="none"> - <a href="../turbine-concepts.html" title="Turbine Concepts">Turbine Concepts</a> - </li> - <li class="none"> - <a href="../fsd.html" title="Specification">Specification</a> - </li> - <li class="none"> - <strong>Further Reading</strong> - </li> - <li class="none"> - <a href="../news.html" title="News and Status">News and Status</a> - </li> - <li class="none"> - <a href="../common/powered.html" title="Sites Using Turbine">Sites Using Turbine</a> - </li> - <li class="none"> - <a href="../common/related.html" title="Sites Related to Turbine">Sites Related to Turbine</a> - </li> - <li class="none"> - <a href="../common/license.html" title="License">License</a> - </li> - <li class="none"> - <a href="../download.html" title="Download">Download</a> - </li> - <li class="none"> - <a href="../examples.html" title="Example Apps">Example Apps</a> - </li> - </ul> - <h5>Shortcuts to Turbine Documentation</h5> - <ul> - <li class="none"> - <a href="https://blogs.apache.org/turbine/" class="externalLink" title="Turbine Blog">Turbine Blog</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/" class="externalLink" title="Turbine Wiki Home">Turbine Wiki Home</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/FAQ" class="externalLink" title="Frequently Asked Questions (FAQ)">Frequently Asked Questions (FAQ)</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/Tutorial" class="externalLink" title="Tutorial">Tutorial</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/UsersGuide" class="externalLink" title="User's Guide">User's Guide</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/Development" class="externalLink" title="Development">Development</a> - </li> - </ul> - <h5>Turbine Releases</h5> - <ul> - <li class="none"> - <a href="../turbine/index.html" title="Overview">Overview</a> - </li> - <li class="none"> - <a href="../turbine/turbine-2.3.3/index.html" title="Turbine 2.3.3">Turbine 2.3.3</a> - </li> - <li class="none"> - <a href="../turbine/turbine-4.0-M2/index.html" title="Turbine 4.0-M2">Turbine 4.0-M2</a> - </li> - </ul> - <h5>Turbine Development</h5> - <ul> - <li class="none"> - <a href="../turbine/development/turbine-4.0/index.html" title="Turbine 4.0">Turbine 4.0</a> - </li> - </ul> - <h5>Turbine Sub Projects</h5> - <ul> - <li class="none"> - <a href="../fulcrum/index.html" title="Fulcrum">Fulcrum</a> - </li> - </ul> - <h5>Closed projects</h5> - <ul> - <li class="none"> - <a href="../stratum/index.html" title="Stratum">Stratum</a> - </li> - <li class="none"> - <a href="../tdk/index.html" title="TDK">TDK</a> - </li> - <li class="none"> - <a href="../meta/index.html" title="META">META</a> - </li> - </ul> - <h5>Community</h5> - <ul> - <li class="none"> - <a href="../who-we-are.html" title="Who we are">Who we are</a> - </li> - <li class="none"> - <a href="../contact.html" title="Contact us">Contact us</a> - </li> - <li class="none"> - <a href="../how-to-help.html" title="How to help">How to help</a> - </li> - <li class="none"> - <a href="../how-it-works.html" title="How it works">How it works</a> - </li> - <li class="none"> - <a href="../board-reports.html" title="Board reports">Board reports</a> - </li> - </ul> - <h5>General Development Information</h5> - <ul> - <li class="none"> - <a href="../common/code-standards.html" title="Coding Specification">Coding Specification</a> - </li> - <li class="none"> - <a href="../common/developer-links.html" title="Developer Links">Developer Links</a> - </li> - <li class="none"> - <a href="../common/documentation.html" title="Improving Documentation">Improving Documentation</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html" title="Project Information">Project Information</a> - </li> - <li class="collapsed"> - <a href="../project-reports.html" title="Project Reports">Project Reports</a> - </li> - </ul> - <h5>Apache</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/" class="externalLink" title="Apache Website">Apache Website</a> - </li> - <li class="none"> - <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a> - </li> - <li class="none"> - <a href="http://www.apache.org/security/" class="externalLink" title="Security">Security</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> - </a> - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. --> - - - - <div class="section"> -<h2>Further Reading<a name="Further_Reading"></a></h2> - - -<div class="section"> -<h3>Turbine Concepts<a name="Turbine_Concepts"></a></h3> - -<ul> - -<li> - <a href="j2ee-integration.html">Turbine With J2EE</a> - - A discussion of how Turbine can be used in a J2EE project. - </li> - -<li> - <a href="pullmodel.html">Pull Model Vs. Push Model</a> - - How and why the view piece of an MVC framework should pull data - rather than a controller pushing data to the view. - </li> - -<li> - <a href="model2+1.html">Model 2+1</a> - - A discussion of how Turbine follows and extends the Model-View-Controller pattern. - </li> - </ul> - </div> - - -<div class="section"> -<h3>Articles On Turbine And Related Projects<a name="Articles_On_Turbine_And_Related_Projects"></a></h3> - -<ul> - <!-- This is no longer available. - <li> - <a href="http://www.vsj.co.uk/articles/display.asp?id=122">High Velocity Web Application Design</a> - - Cranking out your next scalable web application with Turbine, the new Web Services workhorse. - By Sing Li. - <em>Published in VSJ; January 15, 2003.</em> - </li> --> - -<li> - <a class="externalLink" href="http://www.javaworld.com/javaworld/jw-10-2002/jw-1011-maven.html">Maven Article</a> - - Maven ties together tools for better code management. - By Jeff Linwood. - <i>Published in JavaWorld; October 11, 2002.</i> - </li> - -<li> - <a class="externalLink" href="http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity.html">Velocity Introduction</a> - - Start up the Velocity Template Engine. - By Geir Magnusson, Jr. - <i>Published in JavaWorld; December 28, 2001.</i> - </li> - </ul> - </div> - - -<div class="section"> -<h3>Related Apache Projects<a name="Related_Apache_Projects"></a></h3> - -<ul> - -<li> - <a class="externalLink" href="http://velocity.apache.org/engine/">Velocity</a> - A view - technology comparable to JSP) that Turbine officially supports. Many - Turbine developers feel Velocity is an excellent alternative - to JSP for web application development. - </li> - -<li> - <a class="externalLink" href="http://portals.apache.org/jetspeed-1/">Jetspeed 1</a> - An open source - portal engine built on top of the Turbine web application framework. Use - Jetspeed to develop a ready-to-go portal solution with open technology. - </li> - -<li> - <a class="externalLink" href="http://logging.apache.org/log4j/docs/index.html">Log4j</a> - A standard logging - framework used by Turbine and many other projects. - No more commenting System.out.println()'s in your code! - </li> - -<li> - <a class="externalLink" href="http://maven.apache.org">Maven</a> - A Java - project management and project comprehension tool. Maven is based on the - concept of a project object model (POM) in that all the artifacts produced - by Maven are a result of consulting a well defined model for your project. - </li> - -<li> - <a class="externalLink" href="http://db.apache.org/torque/">Torque</a> - A persistence layer. - Torque includes a generator to generate all the database resources required - by your application and includes a runtime environment to run the generated - classes. - </li> - </ul> - </div> - - -<div class="section"> -<h3>Viewpoints on JSP<a name="Viewpoints_on_JSP"></a></h3> - -<ul> - -<li><a class="externalLink" href="http://wiki.apache.org/velocity/YouMakeTheDecision">You Make The Decision</a> - - John Stevens' article comparing Velocity to JSP.</li> - -<li><a class="externalLink" href="http://www.servlets.com/soapbox/problems-jsp.html">Problems with JSP</a> - - Jason Hunters' article discussing common issues with JSP.</li> - </ul> - </div> - - </div> - - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - Copyright © 2000-2016 - <a href="http://turbine.apache.org/">Apache Software Foundation</a>. - All Rights Reserved. - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 22 November 2017 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Turbine – Turbine Further Reading</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20171122" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href=".././" id="bannerLeft"> + <img src="../images/turbine-project.png" alt="Apache Turbine" /> + </a> + <div id="bannerRight"> + <img src="../images/logo.gif" alt="Apache Turbine" /> + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 22 November 2017</span> + | <span id="projectVersion">Version: 4.0</span> + </div> + <div class="xright"> <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a> + | + <a href=".././" title="Turbine">Turbine</a> + | + <a href="../fulcrum/" title="Fulcrum">Fulcrum</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>General Information</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../turbine-concepts.html" title="Turbine Concepts">Turbine Concepts</a> + </li> + <li class="none"> + <a href="../fsd.html" title="Specification">Specification</a> + </li> + <li class="none"> + <strong>Further Reading</strong> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../common/powered.html" title="Sites Using Turbine">Sites Using Turbine</a> + </li> + <li class="none"> + <a href="../common/related.html" title="Sites Related to Turbine">Sites Related to Turbine</a> + </li> + <li class="none"> + <a href="../common/license.html" title="License">License</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../examples.html" title="Example Apps">Example Apps</a> + </li> + </ul> + <h5>Shortcuts to Turbine Documentation</h5> + <ul> + <li class="none"> + <a href="https://blogs.apache.org/turbine/" class="externalLink" title="Turbine Blog">Turbine Blog</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/" class="externalLink" title="Turbine Wiki Home">Turbine Wiki Home</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/FAQ" class="externalLink" title="Frequently Asked Questions (FAQ)">Frequently Asked Questions (FAQ)</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/Tutorial" class="externalLink" title="Tutorial">Tutorial</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/UsersGuide" class="externalLink" title="User's Guide">User's Guide</a> + </li> + <li class="none"> + <a href="https://wiki.apache.org/turbine/Turbine5" class="externalLink" title="Development">Development</a> + </li> + </ul> + <h5>Turbine Releases</h5> + <ul> + <li class="none"> + <a href="../turbine/index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../turbine/turbine-2.3.3/index.html" title="Turbine 2.3.3">Turbine 2.3.3</a> + </li> + <li class="none"> + <a href="../turbine/turbine-4.0-M2/index.html" title="Turbine 4.0-M2">Turbine 4.0-M2</a> + </li> + <li class="none"> + <a href="../turbine/turbine-4.0/index.html" title="Turbine 4.0">Turbine 4.0</a> + </li> + </ul> + <h5>Turbine Development</h5> + <ul> + <li class="none"> + <a href="../turbine/development/turbine-4.1/index.html" title="Turbine 4.1">Turbine 4.1</a> + </li> + </ul> + <h5>Turbine Sub Projects</h5> + <ul> + <li class="none"> + <a href="../fulcrum/index.html" title="Fulcrum">Fulcrum</a> + </li> + </ul> + <h5>Closed projects</h5> + <ul> + <li class="none"> + <a href="../stratum/index.html" title="Stratum">Stratum</a> + </li> + <li class="none"> + <a href="../tdk/index.html" title="TDK">TDK</a> + </li> + <li class="none"> + <a href="../meta/index.html" title="META">META</a> + </li> + </ul> + <h5>Community</h5> + <ul> + <li class="none"> + <a href="../who-we-are.html" title="Who we are">Who we are</a> + </li> + <li class="none"> + <a href="../contact.html" title="Contact us">Contact us</a> + </li> + <li class="none"> + <a href="../how-to-help.html" title="How to help">How to help</a> + </li> + <li class="none"> + <a href="../how-it-works.html" title="How it works">How it works</a> + </li> + <li class="none"> + <a href="../board-reports.html" title="Board reports">Board reports</a> + </li> + </ul> + <h5>General Development Information</h5> + <ul> + <li class="none"> + <a href="../common/code-standards.html" title="Coding Specification">Coding Specification</a> + </li> + <li class="none"> + <a href="../common/developer-links.html" title="Developer Links">Developer Links</a> + </li> + <li class="none"> + <a href="../common/documentation.html" title="Improving Documentation">Improving Documentation</a> + </li> + </ul> + <h5>Project Documentation</h5> + <ul> + <li class="collapsed"> + <a href="../project-info.html" title="Project Information">Project Information</a> + </li> + <li class="collapsed"> + <a href="../project-reports.html" title="Project Reports">Project Reports</a> + </li> + </ul> + <h5>Apache</h5> + <ul> + <li class="none"> + <a href="http://www.apache.org/" class="externalLink" title="Apache Website">Apache Website</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a> + </li> + <li class="none"> + <a href="http://www.apache.org/security/" class="externalLink" title="Security">Security</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. --> + + + + <div class="section"> +<h2><a name="Further_Reading"></a>Further Reading</h2> + + +<div class="section"> +<h3><a name="Turbine_Concepts"></a>Turbine Concepts</h3> + +<ul> + +<li> + <a href="j2ee-integration.html">Turbine With J2EE</a> + - A discussion of how Turbine can be used in a J2EE project. + </li> + +<li> + <a href="pullmodel.html">Pull Model Vs. Push Model</a> + - How and why the view piece of an MVC framework should pull data + rather than a controller pushing data to the view. + </li> + +<li> + <a href="model2+1.html">Model 2+1</a> + - A discussion of how Turbine follows and extends the Model-View-Controller pattern. + </li> + </ul> + </div> + + +<div class="section"> +<h3><a name="Articles_On_Turbine_And_Related_Projects"></a>Articles On Turbine And Related Projects</h3> + +<ul> + <!-- This is no longer available. + <li> + <a href="http://www.vsj.co.uk/articles/display.asp?id=122">High Velocity Web Application Design</a> + - Cranking out your next scalable web application with Turbine, the new Web Services workhorse. + By Sing Li. + <em>Published in VSJ; January 15, 2003.</em> + </li> --> + +<li> + <a class="externalLink" href="http://www.javaworld.com/javaworld/jw-10-2002/jw-1011-maven.html">Maven Article</a> + - Maven ties together tools for better code management. + By Jeff Linwood. + <i>Published in JavaWorld; October 11, 2002.</i> + </li> + +<li> + <a class="externalLink" href="http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity.html">Velocity Introduction</a> + - Start up the Velocity Template Engine. + By Geir Magnusson, Jr. + <i>Published in JavaWorld; December 28, 2001.</i> + </li> + </ul> + </div> + + +<div class="section"> +<h3><a name="Related_Apache_Projects"></a>Related Apache Projects</h3> + +<ul> + +<li> + <a class="externalLink" href="http://velocity.apache.org/engine/">Velocity</a> - A view + technology comparable to JSP) that Turbine officially supports. Many + Turbine developers feel Velocity is an excellent alternative + to JSP for web application development. + </li> + +<li> + <a class="externalLink" href="http://portals.apache.org/jetspeed-1/">Jetspeed 1</a> - An open source + portal engine built on top of the Turbine web application framework. Use + Jetspeed to develop a ready-to-go portal solution with open technology. + </li> + +<li> + <a class="externalLink" href="http://logging.apache.org/log4j/docs/index.html">Log4j</a> - A standard logging + framework used by Turbine and many other projects. + No more commenting System.out.println()'s in your code! + </li> + +<li> + <a class="externalLink" href="http://maven.apache.org">Maven</a> - A Java + project management and project comprehension tool. Maven is based on the + concept of a project object model (POM) in that all the artifacts produced + by Maven are a result of consulting a well defined model for your project. + </li> + +<li> + <a class="externalLink" href="http://db.apache.org/torque/">Torque</a> - A persistence layer. + Torque includes a generator to generate all the database resources required + by your application and includes a runtime environment to run the generated + classes. + </li> + </ul> + </div> + + +<div class="section"> +<h3><a name="Viewpoints_on_JSP"></a>Viewpoints on JSP</h3> + +<ul> + +<li><a class="externalLink" href="http://wiki.apache.org/velocity/YouMakeTheDecision">You Make The Decision</a> + - John Stevens' article comparing Velocity to JSP.</li> + +<li><a class="externalLink" href="http://www.servlets.com/soapbox/problems-jsp.html">Problems with JSP</a> + - Jason Hunters' article discussing common issues with JSP.</li> + </ul> + </div> + + </div> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2000–2017 + <a href="http://turbine.apache.org/">Apache Software Foundation</a>. + All rights reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> </html> \ No newline at end of file
Modified: websites/production/turbine/content/further-reading/j2ee-integration.html ============================================================================== --- websites/production/turbine/content/further-reading/j2ee-integration.html (original) +++ websites/production/turbine/content/further-reading/j2ee-integration.html Wed Nov 22 13:04:39 2017 @@ -1,474 +1,476 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 10 January 2016 --> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Turbine - - J2EE Integration</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="Date-Revision-yyyymmdd" content="20160110" /> - <meta http-equiv="Content-Language" content="en" /> - - </head> - <body class="composite"> - <div id="banner"> - <a href=".././" id="bannerLeft"> - <img src="../images/turbine-project.png" alt="Apache Turbine" /> - </a> - <div id="bannerRight"> - <img src="../images/logo.gif" alt="Apache Turbine" /> - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - <div class="xleft"> - <span id="publishDate">Last Published: 10 January 2016</span> - | <span id="projectVersion">Version: 4.0</span> - </div> - <div class="xright"> <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a> - | - <a href=".././" title="Turbine">Turbine</a> - | - <a href="../fulcrum/" title="Fulcrum">Fulcrum</a> - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - <h5>General Information</h5> - <ul> - <li class="none"> - <a href="../index.html" title="Overview">Overview</a> - </li> - <li class="none"> - <a href="../turbine-concepts.html" title="Turbine Concepts">Turbine Concepts</a> - </li> - <li class="none"> - <a href="../fsd.html" title="Specification">Specification</a> - </li> - <li class="none"> - <a href="../further-reading/index.html" title="Further Reading">Further Reading</a> - </li> - <li class="none"> - <a href="../news.html" title="News and Status">News and Status</a> - </li> - <li class="none"> - <a href="../common/powered.html" title="Sites Using Turbine">Sites Using Turbine</a> - </li> - <li class="none"> - <a href="../common/related.html" title="Sites Related to Turbine">Sites Related to Turbine</a> - </li> - <li class="none"> - <a href="../common/license.html" title="License">License</a> - </li> - <li class="none"> - <a href="../download.html" title="Download">Download</a> - </li> - <li class="none"> - <a href="../examples.html" title="Example Apps">Example Apps</a> - </li> - </ul> - <h5>Shortcuts to Turbine Documentation</h5> - <ul> - <li class="none"> - <a href="https://blogs.apache.org/turbine/" class="externalLink" title="Turbine Blog">Turbine Blog</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/" class="externalLink" title="Turbine Wiki Home">Turbine Wiki Home</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/FAQ" class="externalLink" title="Frequently Asked Questions (FAQ)">Frequently Asked Questions (FAQ)</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/Tutorial" class="externalLink" title="Tutorial">Tutorial</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/UsersGuide" class="externalLink" title="User's Guide">User's Guide</a> - </li> - <li class="none"> - <a href="http://wiki.apache.org/turbine/Turbine2/Development" class="externalLink" title="Development">Development</a> - </li> - </ul> - <h5>Turbine Releases</h5> - <ul> - <li class="none"> - <a href="../turbine/index.html" title="Overview">Overview</a> - </li> - <li class="none"> - <a href="../turbine/turbine-2.3.3/index.html" title="Turbine 2.3.3">Turbine 2.3.3</a> - </li> - <li class="none"> - <a href="../turbine/turbine-4.0-M2/index.html" title="Turbine 4.0-M2">Turbine 4.0-M2</a> - </li> - </ul> - <h5>Turbine Development</h5> - <ul> - <li class="none"> - <a href="../turbine/development/turbine-4.0/index.html" title="Turbine 4.0">Turbine 4.0</a> - </li> - </ul> - <h5>Turbine Sub Projects</h5> - <ul> - <li class="none"> - <a href="../fulcrum/index.html" title="Fulcrum">Fulcrum</a> - </li> - </ul> - <h5>Closed projects</h5> - <ul> - <li class="none"> - <a href="../stratum/index.html" title="Stratum">Stratum</a> - </li> - <li class="none"> - <a href="../tdk/index.html" title="TDK">TDK</a> - </li> - <li class="none"> - <a href="../meta/index.html" title="META">META</a> - </li> - </ul> - <h5>Community</h5> - <ul> - <li class="none"> - <a href="../who-we-are.html" title="Who we are">Who we are</a> - </li> - <li class="none"> - <a href="../contact.html" title="Contact us">Contact us</a> - </li> - <li class="none"> - <a href="../how-to-help.html" title="How to help">How to help</a> - </li> - <li class="none"> - <a href="../how-it-works.html" title="How it works">How it works</a> - </li> - <li class="none"> - <a href="../board-reports.html" title="Board reports">Board reports</a> - </li> - </ul> - <h5>General Development Information</h5> - <ul> - <li class="none"> - <a href="../common/code-standards.html" title="Coding Specification">Coding Specification</a> - </li> - <li class="none"> - <a href="../common/developer-links.html" title="Developer Links">Developer Links</a> - </li> - <li class="none"> - <a href="../common/documentation.html" title="Improving Documentation">Improving Documentation</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html" title="Project Information">Project Information</a> - </li> - <li class="collapsed"> - <a href="../project-reports.html" title="Project Reports">Project Reports</a> - </li> - </ul> - <h5>Apache</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/" class="externalLink" title="Apache Website">Apache Website</a> - </li> - <li class="none"> - <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a> - </li> - <li class="none"> - <a href="http://www.apache.org/security/" class="externalLink" title="Security">Security</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> - </a> - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. --> - - - -<div class="section"> -<h2>J2EE Integration<a name="J2EE_Integration"></a></h2> - - -<p> -This document serves to answer a few common questions about integration -of Turbine with J2EE technologies including Servlets, EJB, Swing, JMS, -Transactions, JNDI, XML, JDBC, JSP, and Security. The short answer is -that it is all Java code, and you easily can combine Turbine solutions -with J2EE solutions in almost any manner. Turbine is increasingly flexible -about what pieces you choose to use or discard. -</p> - - -<div class="section"> -<h3>How does Turbine work with ... ?<a name="How_does_Turbine_work_with_..._"></a></h3> - -<table border="0" class="bodyTable"> - -<tr class="a"> - -<td>Servlets</td> - -<td> - -<p> -Turbine is a servlet. It is also a set of re-usable components assembled into -a framework. Most of Turbine's components can be used in your own Servlets. -It is normal for projects to start off with a -simple servlet, tacking on various components like Connection Pooling, -Cron Schedulers, User Management, Services, etc. That is what we have -done as well, however we have done with pluggability as a major concern. -Mix and match for use what you want, Ignore the rest. -</p> - </td> - </tr> - -<tr class="b"> - -<td>EJB</td> - -<td> - -<p> -Turbine provides a framework for developing web applications - -specifically the front end. EJB provides a framework for developing -n-tier applications - specifically the back ends - thus Turbine and EJB -complement each other well at that level. -</p> - </td> - </tr> - -<tr class="a"> - -<td>Swing</td> - -<td> - -<p> -Turbine is the for the web - Swing is not - not applicable. Although there -is a new technology <a class="externalLink" href="http://swingml.sourceforge.net/">SwingML</a> -which can be integrated within Turbine. SwingML describes itself as -<i>"an effort to create a markup language to render in a web browser -JFC/Swing based graphical user interfaces."</i> -</p> - </td> - </tr> - -<tr class="b"> - -<td>JMS</td> - -<td> - -<p> -Turbine provides facilities for plugging in other Services - and thus -JMS could be plugged in as a service. Even if it isn't plugged -in through Turbine's Services facilities, you can still put your JMS -related methods into your code. Turbine doesn't prevent you from calling -other Java code. -</p> - </td> - </tr> - -<tr class="a"> - -<td>Transactions</td> - -<td> - -<p> -There is nothing in Turbine explicitly using the JTS/JTA - but can use -EJB and hence these technologies. That belongs in EJB's anyways. :-) -</p> - </td> - </tr> - -<tr class="b"> - -<td>JNDI</td> - -<td> - -<p> -Turbine provides access to JNDI via a Service facility. You can always -choose to implement your own facility as well (ie: if you have an -existing code base that you would like to use, Turbine does not stop you -from using it). -</p> - </td> - </tr> - -<tr class="a"> - -<td>XML</td> - -<td> - -<p> -Turbine provides support for using and working with XML. Again, nothing -preventing you from using XML within Turbine or even sending XML out -of Turbine. -</p> - </td> - </tr> - -<tr class="b"> - -<td>JDBC</td> - -<td> - -<p> -Turbine provides good support for working with JDBC through the <a class="externalLink" href="http://www.softwareforge.de/projects/village">Village API</a>, the <a class="externalLink" href="http://db.apache.org/torque/"> -Torque Object Relational Tool</a> and its connection -pooling facilities. The connection pool is not yet fully J2EE -"compatible" in that it does not support DataSources. However, at some -point we may choose to implement that. Note, again, Turbine does not -prevent you from using your own Connection pooling mechanism, we simply -created one because at the time, we needed one and ours works just fine. -</p> - </td> - </tr> - -<tr class="a"> - -<td>JSP</td> - -<td> - -<p> -Turbine provides excellent support for using JSP in its model of working -- which is based on the Model 2 style with enhancements, such as solving -the Action portion of the Model. However, we <a class="externalLink" href="http://wiki.apache.org/velocity/YouMakeTheDecision">strongly -suggest</a> that you do not use JSP and seek out other alternatives. -</p> - </td> - </tr> - -<tr class="b"> - -<td>Security</td> - -<td> - -<p> -Turbine was created long before J2EE was created. Therefore, we needed -to implement our own Security Model. This model is based on Users, -Roles, Permissions and Object Groups. It is an Access Control List (ACL) -based security scheme and can grow to support nearly any level of access -control people can come up with. It follows our extensible design -pattern and you can use Turbine's code as the basis for any additional -security your application requires. -</p> - </td> - </tr> - -<tr class="a"> - -<td>Container Managed Security</td> - -<td> - -<p> -You can use container managed security if you wish, and Turbine provides you with -mechanism for application managed security, in case you need them. -</p> - -<p> -The main problem with container managed security is that it cannot be managed -from the inside of the application. Whenever you want to add/remove users to -your application (or suite of them) or want to modify user's roles, you need -to use whatever tool your application server provides for that. -</p> - -<p> -Now, this could work just fine for closed-public applications and intranets, -but would be really unacceptable on open-public sites, where the users need -the ability to register and receive 'accounts' without human interaction. -</p> - -<p> -Currently Turbine supports the latter model - application managed security. -This is because if it didn't have it, many people would have to write code -to provide it. That's why we created SecurityService in a cooperative effort. -</p> - -<p> -On the other hand, you don't need to write any code to use declarative -container managed security. You can restrict access to the Turbine -servlet with the usual web.xml magic. If you wish to use programmatic -container managed security code, there is relatively very little code to write. -You need to create your own SecureScreens (probably extending VelocityScreen) -and SecureActions that contained code that calls the <tt>HttpServletRequest -getUserPrincipal</tt> and <tt>isUserInRole</tt> methods. -above. -</p> - </td> - </tr> -</table> -</div> - -</div> - - - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - Copyright © 2000-2016 - <a href="http://turbine.apache.org/">Apache Software Foundation</a>. - All Rights Reserved. - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 22 November 2017 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Turbine – J2EE Integration</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20171122" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href=".././" id="bannerLeft"> + <img src="../images/turbine-project.png" alt="Apache Turbine" /> + </a> + <div id="bannerRight"> + <img src="../images/logo.gif" alt="Apache Turbine" /> + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 22 November 2017</span> + | <span id="projectVersion">Version: 4.0</span> + </div> + <div class="xright"> <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a> + | + <a href=".././" title="Turbine">Turbine</a> + | + <a href="../fulcrum/" title="Fulcrum">Fulcrum</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>General Information</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../turbine-concepts.html" title="Turbine Concepts">Turbine Concepts</a> + </li> + <li class="none"> + <a href="../fsd.html" title="Specification">Specification</a> + </li> + <li class="none"> + <a href="../further-reading/index.html" title="Further Reading">Further Reading</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../common/powered.html" title="Sites Using Turbine">Sites Using Turbine</a> + </li> + <li class="none"> + <a href="../common/related.html" title="Sites Related to Turbine">Sites Related to Turbine</a> + </li> + <li class="none"> + <a href="../common/license.html" title="License">License</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../examples.html" title="Example Apps">Example Apps</a> + </li> + </ul> + <h5>Shortcuts to Turbine Documentation</h5> + <ul> + <li class="none"> + <a href="https://blogs.apache.org/turbine/" class="externalLink" title="Turbine Blog">Turbine Blog</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/" class="externalLink" title="Turbine Wiki Home">Turbine Wiki Home</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/FAQ" class="externalLink" title="Frequently Asked Questions (FAQ)">Frequently Asked Questions (FAQ)</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/Tutorial" class="externalLink" title="Tutorial">Tutorial</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/turbine/Turbine2/UsersGuide" class="externalLink" title="User's Guide">User's Guide</a> + </li> + <li class="none"> + <a href="https://wiki.apache.org/turbine/Turbine5" class="externalLink" title="Development">Development</a> + </li> + </ul> + <h5>Turbine Releases</h5> + <ul> + <li class="none"> + <a href="../turbine/index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../turbine/turbine-2.3.3/index.html" title="Turbine 2.3.3">Turbine 2.3.3</a> + </li> + <li class="none"> + <a href="../turbine/turbine-4.0-M2/index.html" title="Turbine 4.0-M2">Turbine 4.0-M2</a> + </li> + <li class="none"> + <a href="../turbine/turbine-4.0/index.html" title="Turbine 4.0">Turbine 4.0</a> + </li> + </ul> + <h5>Turbine Development</h5> + <ul> + <li class="none"> + <a href="../turbine/development/turbine-4.1/index.html" title="Turbine 4.1">Turbine 4.1</a> + </li> + </ul> + <h5>Turbine Sub Projects</h5> + <ul> + <li class="none"> + <a href="../fulcrum/index.html" title="Fulcrum">Fulcrum</a> + </li> + </ul> + <h5>Closed projects</h5> + <ul> + <li class="none"> + <a href="../stratum/index.html" title="Stratum">Stratum</a> + </li> + <li class="none"> + <a href="../tdk/index.html" title="TDK">TDK</a> + </li> + <li class="none"> + <a href="../meta/index.html" title="META">META</a> + </li> + </ul> + <h5>Community</h5> + <ul> + <li class="none"> + <a href="../who-we-are.html" title="Who we are">Who we are</a> + </li> + <li class="none"> + <a href="../contact.html" title="Contact us">Contact us</a> + </li> + <li class="none"> + <a href="../how-to-help.html" title="How to help">How to help</a> + </li> + <li class="none"> + <a href="../how-it-works.html" title="How it works">How it works</a> + </li> + <li class="none"> + <a href="../board-reports.html" title="Board reports">Board reports</a> + </li> + </ul> + <h5>General Development Information</h5> + <ul> + <li class="none"> + <a href="../common/code-standards.html" title="Coding Specification">Coding Specification</a> + </li> + <li class="none"> + <a href="../common/developer-links.html" title="Developer Links">Developer Links</a> + </li> + <li class="none"> + <a href="../common/documentation.html" title="Improving Documentation">Improving Documentation</a> + </li> + </ul> + <h5>Project Documentation</h5> + <ul> + <li class="collapsed"> + <a href="../project-info.html" title="Project Information">Project Information</a> + </li> + <li class="collapsed"> + <a href="../project-reports.html" title="Project Reports">Project Reports</a> + </li> + </ul> + <h5>Apache</h5> + <ul> + <li class="none"> + <a href="http://www.apache.org/" class="externalLink" title="Apache Website">Apache Website</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a> + </li> + <li class="none"> + <a href="http://www.apache.org/security/" class="externalLink" title="Security">Security</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. --> + + + +<div class="section"> +<h2><a name="J2EE_Integration"></a>J2EE Integration</h2> + + +<p> +This document serves to answer a few common questions about integration +of Turbine with J2EE technologies including Servlets, EJB, Swing, JMS, +Transactions, JNDI, XML, JDBC, JSP, and Security. The short answer is +that it is all Java code, and you easily can combine Turbine solutions +with J2EE solutions in almost any manner. Turbine is increasingly flexible +about what pieces you choose to use or discard. +</p> + + +<div class="section"> +<h3><a name="How_does_Turbine_work_with_..._"></a>How does Turbine work with ... ?</h3> + +<table border="0" class="bodyTable"> + +<tr class="a"> + +<td>Servlets</td> + +<td> + +<p> +Turbine is a servlet. It is also a set of re-usable components assembled into +a framework. Most of Turbine's components can be used in your own Servlets. +It is normal for projects to start off with a +simple servlet, tacking on various components like Connection Pooling, +Cron Schedulers, User Management, Services, etc. That is what we have +done as well, however we have done with pluggability as a major concern. +Mix and match for use what you want, Ignore the rest. +</p> + </td> + </tr> + +<tr class="b"> + +<td>EJB</td> + +<td> + +<p> +Turbine provides a framework for developing web applications - +specifically the front end. EJB provides a framework for developing +n-tier applications - specifically the back ends - thus Turbine and EJB +complement each other well at that level. +</p> + </td> + </tr> + +<tr class="a"> + +<td>Swing</td> + +<td> + +<p> +Turbine is the for the web - Swing is not - not applicable. Although there +is a new technology <a class="externalLink" href="http://swingml.sourceforge.net/">SwingML</a> +which can be integrated within Turbine. SwingML describes itself as +<i>"an effort to create a markup language to render in a web browser +JFC/Swing based graphical user interfaces."</i> +</p> + </td> + </tr> + +<tr class="b"> + +<td>JMS</td> + +<td> + +<p> +Turbine provides facilities for plugging in other Services - and thus +JMS could be plugged in as a service. Even if it isn't plugged +in through Turbine's Services facilities, you can still put your JMS +related methods into your code. Turbine doesn't prevent you from calling +other Java code. +</p> + </td> + </tr> + +<tr class="a"> + +<td>Transactions</td> + +<td> + +<p> +There is nothing in Turbine explicitly using the JTS/JTA - but can use +EJB and hence these technologies. That belongs in EJB's anyways. :-) +</p> + </td> + </tr> + +<tr class="b"> + +<td>JNDI</td> + +<td> + +<p> +Turbine provides access to JNDI via a Service facility. You can always +choose to implement your own facility as well (ie: if you have an +existing code base that you would like to use, Turbine does not stop you +from using it). +</p> + </td> + </tr> + +<tr class="a"> + +<td>XML</td> + +<td> + +<p> +Turbine provides support for using and working with XML. Again, nothing +preventing you from using XML within Turbine or even sending XML out +of Turbine. +</p> + </td> + </tr> + +<tr class="b"> + +<td>JDBC</td> + +<td> + +<p> +Turbine provides good support for working with JDBC through the <a class="externalLink" href="http://www.softwareforge.de/projects/village">Village API</a>, the <a class="externalLink" href="http://db.apache.org/torque/"> +Torque Object Relational Tool</a> and its connection +pooling facilities. The connection pool is not yet fully J2EE +"compatible" in that it does not support DataSources. However, at some +point we may choose to implement that. Note, again, Turbine does not +prevent you from using your own Connection pooling mechanism, we simply +created one because at the time, we needed one and ours works just fine. +</p> + </td> + </tr> + +<tr class="a"> + +<td>JSP</td> + +<td> + +<p> +Turbine provides excellent support for using JSP in its model of working +- which is based on the Model 2 style with enhancements, such as solving +the Action portion of the Model. However, we <a class="externalLink" href="http://wiki.apache.org/velocity/YouMakeTheDecision">strongly +suggest</a> that you do not use JSP and seek out other alternatives. +</p> + </td> + </tr> + +<tr class="b"> + +<td>Security</td> + +<td> + +<p> +Turbine was created long before J2EE was created. Therefore, we needed +to implement our own Security Model. This model is based on Users, +Roles, Permissions and Object Groups. It is an Access Control List (ACL) +based security scheme and can grow to support nearly any level of access +control people can come up with. It follows our extensible design +pattern and you can use Turbine's code as the basis for any additional +security your application requires. +</p> + </td> + </tr> + +<tr class="a"> + +<td>Container Managed Security</td> + +<td> + +<p> +You can use container managed security if you wish, and Turbine provides you with +mechanism for application managed security, in case you need them. +</p> + +<p> +The main problem with container managed security is that it cannot be managed +from the inside of the application. Whenever you want to add/remove users to +your application (or suite of them) or want to modify user's roles, you need +to use whatever tool your application server provides for that. +</p> + +<p> +Now, this could work just fine for closed-public applications and intranets, +but would be really unacceptable on open-public sites, where the users need +the ability to register and receive 'accounts' without human interaction. +</p> + +<p> +Currently Turbine supports the latter model - application managed security. +This is because if it didn't have it, many people would have to write code +to provide it. That's why we created SecurityService in a cooperative effort. +</p> + +<p> +On the other hand, you don't need to write any code to use declarative +container managed security. You can restrict access to the Turbine +servlet with the usual web.xml magic. If you wish to use programmatic +container managed security code, there is relatively very little code to write. +You need to create your own SecureScreens (probably extending VelocityScreen) +and SecureActions that contained code that calls the <tt>HttpServletRequest +getUserPrincipal</tt> and <tt>isUserInRole</tt> methods. +above. +</p> + </td> + </tr> +</table> +</div> + +</div> + + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2000–2017 + <a href="http://turbine.apache.org/">Apache Software Foundation</a>. + All rights reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> </html> \ No newline at end of file
