Menu

Overview

Anatol Se

Overview for programmers


This application provides functionality to create and manage drugs auctions (tenders). Application developed using last Netbeans IDE and should be deployed on GlassFish 4 or other J2EE 7 application container. To build from source code the Apache Maven can be used.

Main functions is:

  1. User authentication and access rights
  2. Integration with Warehouse system to access for prices and stocks
  3. Provide drugs information database
  4. Manage auction (tender)
  5. Manage auction position i.e. drugs within auction
  6. Manage requests to drug producers
  7. Manage requests to customers
  8. Manage requests to other distributors

The application consists of several parts:

  1. LoadDrugs
  2. ExtJS
  3. AuCa
    • EJB module
    • WEB module

LoadDrugs

The application loads drugs information from web sites. It is console java application. To interact with web sites it use Selenium 2.0 library. Application parses content of web site and store all the information in database tables. There is only one web adapter implemented. Now number of records in drugs database is about 20000.

ExtJS

This application just put ExtJS JavaScript library into GlassFish 4 application server. Thei application consists from one WEB module

AuCa

This is main application. Consists from two modules - EJB and WEB. There are several JPA 2.0 entities and EJB beans defined within EJB module. Entity classes used to access database data easier and also its define database structure. EJB classes provide access to JPA entities using Java Criteria API. Also EJB beans contains business logic for this application.
This application involves the integration with warehouse system. To achieve this the application uses Web Services. So as ESB not used in present configuration, the application has it's own mechanism to access web services. This feature based on Apache CXF library. The System provides user interface to configure calls of the warehouse web services.
WEB module provide access to EJB beans and JPA entities through servlets. The HTTP Post requests used to get data from servlet and put it into user interface layer. All of this data transferred in JSON format. The Jackson JSON processor used to convert from Java Object to JSON.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.