A Method to Generate Codes for a SOA J2EE Application
Publication Date: 2014-Apr-24
The IP.com Prior Art Database
Disclosed is a new method for generating Java* Server Page (JSP) codes, Java codes, and other codes for an existing Service Oriented Architecture (SOA)-based Java 2 Platform Enterprise Edition (J2EE) application. This method uses Microsoft** Excel and the embedded programming language, Visual Basic for Applications, to create a framework for developers to make changes to these applications.
Page 01 of 4
A Method to Generate Codes for a SOA J 2EE Application
A Service Oriented Architecture (SOA)-based Java* 2 Platform Enterprise Edition (J2EE) Portal application can have a very complicated application architecture. One such application leverages a SOA application architecture, is built on two application design patterns and two popular application frameworks, and is composed of multiple components and services.
Developing and making changes to such an application is a great challenge to developers because it is difficult, time-consuming, and error-prone. For example, in order to add a new Submit button to a portlet view, a developer has to develop Java Server Page (JSP) codes and Java codes, and insert them into several appropriate JSP files, Java files, and properties files all the way from the front-end portlet page down to the database access module of this application, and then make all those codes work together.
Some existing tools can be used to generate codes for applications; however, those tools do not apply to this case. Those tools can generate the codes before the development work starts and they do not generate codes just for the intended changing part, allowing the generated codes to be inserted into existing applications. In addition, those tools usually generate codes in predefined programming languages; they do not generate the codes in any programming language the developer might expect. Therefore, the developers have no tools to use and they have to manually write the codes piece by piece to modify this application.
The novel contribution is a method to invoke the Visual Basic** (VB) scripts to generate the expected codes, insert them into the application files, and then complete the rest development work. A developer inputs some plain text strings into a spreadsheet and then runs the VB scripts to generate the codes. This approach can generate the codes in any programming languages (e.g., JSP codes, Java codes, etc.) as expected.
This solution embodies this idea that developers can leverage a computer tool to generate JSP codes and Java codes instead of writing all those codes manually from the beginning. This tool is Microsoft** Excel with embedded Visual Basic scripts. A developer inputs some text strings into a spreadsheet and then runs those Visual Basic scripts to generate the expected codes. The developer then inserts the generated codes into appropriate JSP files and Java files, and from there as the starting point to complete the remaining development work.
This method does not generate every line of codes to implement a business use case. It follows a code pattern of that application to generate those JSP codes and Java codes that are common for implementing those business use cases of this application.
Example Embodiment: User A is unemployed and files an unemployment claim on a biweekly basis. User A logs into this application, goes through the process to reach the Certification page, and then click...