Skip to content

profinoob/dev.kuehni.jee-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JEE CMS

Warning

Currently, the app is configured to drop all tables and recreate them on deployment.

Project

Facelets

Views are written as Facelets. Backing beans are declared as ViewModels.

UI Component Library

For UI components and for theming purposes, this project uses PrimeFaces. The XML namespace xmlns:p="http://primefaces.org/ui" is used in facelets.

URL Rewriting

To get nicely looking URLs, this project uses prettyfaces. The rewriting rules are defined in WEB-INF/pretty-config.xml.

The mapping ids defined in WEB-INF/pretty-config.xml can then be used for navigation outcomes (e.g. <p:link outcome="pretty:logout">Logout</p:link>). For programmatic redirects, PrettyFacesRedirector can be used.

Auth

I didn't get Jakarta Security to work (see branch not-working-auth). Therefore, I implemented my own auth…

Deployment

Deploy this on a GlassFish 7 server (Jakarta 10).

You have to create a JDBC Resource with the JNDI name jdbc/cms. The user used for this connection pool has to have access to DDL, DQL, DML, and transactions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published