JDeveloper Building Struts Application

Source: Internet
Author: User
Tags config

Built-in struts support enhances the productivity of the Oracle Java Integrated development environment.

Jakarta struts is an open source project supported by the Apache Software Foundation. Struts provides a model JavaBean using standard Java 2 platform,enterprise Edition components (such as JavaServer Pagers (JSP), servlet, and 2--) A variant of the model-view-Controller (MODEL-VIEW-CONTROLLER,MVC) application design paradigm-the framework of the application.

Struts is written to address the problems encountered in many enterprise application development projects. Struts provides solutions for common problems encountered during the development of enterprise Web applications, such as page flowcharts (Page-flow), internationalization, maintainability, and deployment flexibility.

Development of struts application in Oracle9i JDeveloper

The Oracle9i JDeveloper 9.0.3 version provides comprehensive support for struts based Java EE application development with the following features:

Struts Runtime Library. Oracle9i JDeveloper provides special support for Struts 1.1 and bundles the Run-time libraries and some examples of struts Web applications. When you download struts from jakarta.apache.org, the Run-time libraries and application samples are also downloaded.

Struts Code Generation Wizard. Oracle9i JDeveloper provides enhanced struts development through the common struts Actionform and the Code generation wizards for the action class. Struts Initial application Wizard (Struts Starter application Wizard) enables your project to build struts applications by providing the necessary Java libraries and applying files such as Struts-config.xml and applicationresources.properties files.

Struts configuration Editor (Struts Configuration Editor). Each struts application uses a primary configuration file, Struts-config.xml, which is an XML file that tracks the entire application configuration information. The Struts configuration Editor provides an Easy-to-use user interface that simplifies configuration file editing.

Struts and bc4j

In addition to providing development support for common struts applications, Oracle9i JDeveloper provides additional features to help develop struts applications that use business components for Java (bc4j). The bc4j features of these struts include:

Struts bc4j JSP Initial application wizard. The wizard generates a simple initial application.

The full Struts bc4j JSP application Wizard. The wizard generates a complete bc4j JSP application based on struts.

Building a simple Struts application

The best way to really understand the struts feature of Oracle9i JDeveloper is to build a simple struts application. The sample application in this article is a simple login form (form) application.

You can download the evaluation version of Oracle9 JDeveloper at Otn.oracle.com/software/products/jdev. You can also download the complete application project described in this article in Otn.oracle.com/sample_code/products/jdev. All files required for this application project are contained in the Simplestrusapp.zip file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.