Skip to content

AhmadMessbah/JavaEE_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Java EE Automation

An automation project using Java EE!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Home

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 !

(back to top)

Built With

What we used for building this project

  • Jakarta EE 10
  • TomEE 10.0.27
  • Jdk 11
  • Oracle Data Base
  • Hibernate Orm

(back to top)

Getting Started

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.

Prerequisites

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"/>

Installation

Below is what you need to have already installed

  1. apache-tomee-webprofile-9.1.2
  2. Jdk 11
  3. Oracle db

(back to top)

Usage

This automation could be used as an official application.

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MFT plus License. See mftplus.com for more information.

(back to top)

Contact

Contact Us - ahadzadeparnian@gmail.com

Project Link: https://github.com/AhmadMessbah/JavaEE_Automation

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published