Skip to content

edp-dx/javaee-legacy-app-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javaee-legacy-app-example

Stack

  • JBoss 4.0.5
  • JSP
  • Struts 1.1
  • EJB 2.1

Glossary

Getting started

We should add a new "Application Policy" into the jboss/server/default/conf/login-config.xml.

<application-policy name = "app-security-domain">
    <authentication>
        <login-module code = "com.example.jaas.MyLoginModule" flag = "required">
        </login-module>
    </authentication>
</application-policy>

Structure

  • /app-ear/META-INF/application.xml - Java EE Deployment Descriptor
  • /app-web/WebRoot/META-INF/MANIFEST.MF
  • /app-web/WebRoot/WEB-INF/web.xml
  • /app-web/WebRoot/index.jsp

Libraries

Struts 1.1

/app-web/WebRoot/WEB-INF/lib/commons-beanutils.jar
/app-web/WebRoot/WEB-INF/lib/commons-collections.jar
/app-web/WebRoot/WEB-INF/lib/commons-digester.jar
/app-web/WebRoot/WEB-INF/lib/commons-fileupload.jar
/app-web/WebRoot/WEB-INF/lib/commons-lang.jar
/app-web/WebRoot/WEB-INF/lib/commons-logging.jar
/app-web/WebRoot/WEB-INF/lib/commons-validator.jar
/app-web/WebRoot/WEB-INF/lib/jakarta-oro.jar
/app-web/WebRoot/WEB-INF/lib/struts.jar
/app-web/WebRoot/WEB-INF/lib/struts-legacy.jar

References