You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Content

Getting Started from Source

myWMS Code Convention

Overview

 

 

Software Architecture

myWMS LOS is a modern JEE 5 (Java Enterprise Edition) application. Therefore it is designed as Client/Server System following a multitiered approach.

LOS Multitiered Architecture

The Client Tier

The LOS Rich Client

The LOS Rich Client uses the Netbeans Platform to provide a rich and suitable user interface.

"The NetBeans Platform is a generic framework for Swing applications. It provides the "plumbing" that, before, every developer had to write themselves - the plumbing - saving state, connecting actions to menu items, toolbar items and keyboard shortcuts; window management, etc."

Through its modular architecture the Netbeans Platform is robust and easy to extend, so the LOS Rich Client is.

Modules of the LOS Rich Client:

Mobile device

The mobile processes are designed for handhelds that provide a barcode scanner. The browser application connects via WLAN and HTTP requests to the server application.

The Web Tier

The web application lives inside the JBoss application server and provides small web pages which a mobile device could request via its internet browser. The web application itself contains no business logic. Instead it calls appropriate methods on session beans that build the business tier.

The Business Tier

The server application is deployed as an enterprise archive.

Content of LOS Enterprise Archive

The figure shows the components of the LOS server application and their dependencies.

The components themself are designed in service oriented way.

LOS Service Layers

The EIS Tier

Enterprise information systems tier : Examples of EISs include relational databases, enterprise resource planning (ERP) systems, mainframe transaction processing systems, and legacy database systems.

The MBean Extensions

JBoss extension to excape the JBoss server

Entity model

CRUD Services

Business Services

Remote and Web Services

myWMS LOS offers Java RMI OOP Remote Services, available via jndi look up and Web Services.

Web Services

For connecting non-Java third party software - commonly ERP systems - to myWMS LOS the application offers ready-to-use Web Services.

At the moment these services are comprised. To retrieve the wsdl for the Web Service follow the wsdl link or the attachments to this page.

If you have running a myWMS LOS system you can retrieve the wsdl online, e.g. for retrieving the wsdl for the ERPQueryInventoryService type this url in your browser's address field:

http://losserver:8080/webservice/ERPQueryInventoryBean?wsdl

losserver stands for your server where the application server is running. Web Service and wsdl are secured by basic authentification so you have to provide a valid myWMS User of Role org.mywms.global.Role.ADMIN and a password.

 

Web ServiceHosted byDescriptionWSDL
OrderServicemyWMSService for ordering items from stock.wsdl(info)
ManageItemDataServicemyWMSService for managing material related data, e.g. creating new item data.wsdl(info)
QueryInventoryServicemyWMSService for retrieving inventory data, e.g. 'how many items of material xy are available on stock?' from WMSwsdl(info)
ManageAdviceSerivemyWMSService for the goods receipt process.wsdl(info)
ERPQueryInventoryServiceERPService to be called from myWMS to retrieve inventory related data from ERPwsdl(info)

Tipp: In Jboss, available Web Services are listed in the JBoss web-console.

JBoss Web Console

Tipp: For testing Web Services you can let JBoss generate some webservice client artifacts:

C:\jboss\bin>wsconsume.bat -s c:\linogistix.los-ejb\test\ -p de.linogistix.los.inventory.ws.jaxwsgen -o C:\linogistix.los-ejb\test\de\linogistix\los\inventory\ws\jaxwsgen -k GoodsReceiptBean.wsdl
  • No labels