An automation project using Java EE!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This project, is a sample of an automation using Java EE. In this project we have provided features with regard to basic needs in an office platform -- it is worth a try
Here's why:
- Login is required for all of our pages, a basic rule for an official automation
- Having samples for lettering system and reference them to different users
- Having samples for Bank and Storage management
Of course, there is still room for improvement !
What we used for building this project
- Jakarta EE 10
- TomEE 10.0.27
- Jdk 11
- Oracle Data Base
- Hibernate Orm
This is an example of how you may set up this project. To get a local copy up and running follow these simple example steps.
These are required changes for your TomEE
Open tomee.xml, Add code below as required jdbc/JtaDataSource
<Resource id = "jdbc/JtaDataSource" type = "javax.sql.DataSource">
jdbcDriver = oracle.jdbc.driver.OracleDriver
jdbcUrl = jdbc:oracle:thin:@localhost:1521:xe
username = mft
password = java123
jtaManaged = true
maxIdle = 20
minIdle = 5
maxWait = 10000
</Resource>
<Resource id = "jdbc/NonJtaDataSource" type = "javax.sql.DataSource">
jdbcDriver = oracle.jdbc.driver.OracleDriver
jdbcUrl = jdbc:oracle:thin:@localhost:1521:xe
username = mft
password = java123
jtaManaged = false
maxIdle = 20
minIdle = 5
maxWait = 10000
</Resource>
Next open server.xml, Add code below as required realm settings
<Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/JtaDataSource"
userTable="user_tbl"
userNameCol="u_username"
userCredCol="u_password"
userRoleTable="roles_tbl"
roleNameCol="role_name"/>
Below is what you need to have already installed
- apache-tomee-webprofile-9.1.2
- Jdk 11
- Oracle db
This automation could be used as an official application.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MFT plus License. See mftplus.com for more information.
Your Name - @your_twitter - [email protected]
Project Link: https://github.com/your_username/repo_name