www.element4solution.com

Package e4s

This is the E4S ("ELEMENT4SOLUTION framework") main package.

See:
          Description

Class Summary
E4HttpServlet Main class defined as servlet, when running as servlet (e.g.
E4ModuleDeclarations Class declaration for the classes that will contain E4Method functionality.
 

Package e4s Description

This is the E4S ("ELEMENT4SOLUTION framework") main package.

Understanding the main structure of this implementation:

This e4s implementation is intended to build Java based web applications, based on Apache/Tomcat server.
The main intention is to give a tool to the developer which enables to build up fast, reliable applications. In our meaning, an application is somewhat more rather than a webpage with some functionality.

You first should become familiary with some basic concepts:

You write your code as one or more Java classes, inheritated by e4s.servlet.moduleImplementation. Each of your modules contains more or less functions, and each function has a unique name. All you must do is include a member variable in your module with the same name as your function has, and this member must be of class e4s.html.MethodReflection. To call or integrate one of your functions, you make use of this member variable.

Your module must be inheritated from e4s.servlet.moduleImplementation like:

  public class myClass extends moduleImplementation
containing the declaration of the member variable for your function, initialized with null:
  public MethodReflection myFunction = null;
Your function has always the format:
  public void myFunction(HTML html, CgiParameters params)
  {
  }
and within this function you can use all methods for output starting with methods in e4s.HTML (see an example there).

Finally, you need to register your class using the e4s.servlet.callbackClasses to make it known to the runtime system.

Your function now is associated with an internal (or external) alias key and can be called from other functions or you can query performance and load statistics for it. At this point, it is for sure, that the compiled program will match and include all references for your application.

To have a starting entry point for your whole application, you need to derive one class form e4s.e4s. A lot of implementation examples can be found in the e4s.tutorial package which is also shipped including the source code.

Support and Contact information:

office@door2solution.at

(C)door2solution software gmbh

License Agreement:

This License For Customer Use of ELEMENT4SOLUTION Software ("LICENSE") is the agreement which governs use of the software of door2solution software gmbh, Klosterneuburg / Austria, (D2S) downloadable herefrom, including computer software and associated printed materials ("SOFTWARE"). By downloading, installing, copying, or otherwise using the SOFTWARE, you agree to be bound by the terms of this LICENSE. If you do not agree to the terms of this LICENSE, do not download the SOFTWARE.

a) DEFINITIONS:

Customer: Customer means the entity or individual that downloads the SOFTWARE.

b) COPYRIGHT:

All title and copyrights in and to the SOFTWARE (including but not limited to all documentation, images, text, and other information incorporated into the SOFTWARE), the accompanying printed materials, and any copies of the SOFTWARE, are owned by D2S, or its suppliers. The SOFTWARE is protected by copyright laws and international treaty provisions, as well as other intellectual property laws and treaties. Accordingly, Customer is required to treat the SOFTWARE like any other copyrighted material, except as otherwise allowed pursuant to this LICENSE and that it may make one copy of the SOFTWARE solely for backup or archive purposes.

c) GRANT OF LICENSE:

D2S hereby grants Customer the following non-exclusive, non-transferable right to use the SOFTWARE, with the following limitations: Customer may install and use one copy of the SOFTWARE on a single computer, and except for making one archive copy of SOFTWARE, may not otherwise copy the SOFTWARE. This LICENSE of SOFTWARE may not be shared or used concurrently on different computers. The SOFTWARE is licensed as a single product. Its component parts may not be separated for use on more than one computer, nor otherwise used separately from the other parts. EXCEPT AS EXPRESSLY AUTHORIZED IN LICENSE, CUSTOMER SHALL NOT: COPY, IN WHOLE OR IN PART, SOFTWARE OR DOCUMENTATION; MODIFY THE SOFTWARE; REVERSE COMPILE OR REVERSE ASSEMBLE ALL OR ANY PORTION OF THE SOFTWARE; OR RENT, LEASE, DISTRIBUTE, SELL, OR CREATE DERIVATIVE WORKS OF THE SOFTWARE. Rental or Leasing of SOFWTARE is allowed explicit for applications that make use of Application Service Providing business models using SOFTWARE as a development tool for one or more applications running on one server.

d) TERMINATION:

This LICENSE will automatically terminate if Customer fails to comply with any of the terms and conditions hereof. In such event, Customer must destroy all copies of the SOFTWARE and all of its component parts. If Customer commences or participates in any legal proceeding against D2S, then D2S may, in its sole discretion, suspend or terminate all license grants and any other rights provided under this LICENSE during the pendency of such legal proceedings.

e) APPLICABLE LAW:

This LICENSE shall be deemed to have been made in, and shall be construed pursuant to, the laws of the federal republic of Austria, EU. The United Nations Convention on Contracts for the International Sale of Goods is specifically disclaimed. Valid court place is Handelsgericht Korneuburg in the federal republic of Austria, EU.

f) DISCLAIMER:

EXCEPT AS SPECIFIED IN THIS WARRANTY, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS, AND WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE, ARE HEREBY EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW. IN NO EVENT WILL D2S OR ITS SUPPLIERS BE LIABLE FOR ANY LOST PROFIT, REVENUE, OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF D2S OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall D2S or its suppliers' liability to Customer, whether in contract, tort (including negligence), or otherwise, exceed the price paid by Customer. The foregoing limitations shall apply even if the above-stated warranty fails of its essential purpose. SOME STATES DO NOT ALLOW LIMITATION OR EXCLUSION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES.

g) MISCELLANEOUS:

If any provision of this LICENSE is inconsistent with, or cannot be fully enforced under, the law, such provision will be construed as limited to the extent necessary to be consistent with and fully enforceable under the law. This LICENSE is the final, complete and exclusive agreement between the parties relating to the subject matter hereof, and supersedes all prior or contemporaneous understandings and agreements relating to such subject matter, whether oral or written. This LICENSE may only be modified in writing signed by an authorized officer of D2S.


www.element4solution.com