MWA Framework Concepts
MWA Framework Concepts
MWA Framework Concepts
Application
MWA Framework
Introduction
Mobile Supply Chain Applications allows employees to
perform some warehouse and shop floor transactions from
any location in the manufacturing facility through the use of
hand-held devices.
Below devices can be used,
PDA Hand-held Radio
Frequency units
Architecture of MWA Application
key components of MSCA Architecture are,
•MWA Server(Mobile Application Server)
•Java based mobile server which compliance with telnet
protocol
•MWA Server functions as a middle-tier between the hand-held
devices that function as clients and the database server
•Java Development Kit (JDK)
•Oracle JDBC(Java Database Connectivity)
•Mobile Application Server does not need Apache server to
run.
Environmental Variables
Below Environmental Variables are related to Mobile Applications,
- $JAVA_TOP
refers to the top-level Standard Oracle Applications Java directory.
- $MWA_TOP
refers to the top-level MWA directory
Method Overloading
In Java it is possible to define two or more methods within the same class that
share the same name, as long as their parameter declarations are different. When
this is the case, the methods are said to be overloaded, and the process is referred
to as method overloading.
Interface
A Java Class which has method declaration without any definition is known as
interface. The class which implements these interfaces should define those
methods.
Java Bean Concept
– It has Properties.
– It has a public constructor.
– It has 'set' and 'get' methods for its properties.
MWA Framework
A special kind of class library which provides a ready-made architecture for
developing Mobile Application Pages.
FieldBean PageBean
MenuItemBea
InputableFieldBean ButtonFieldBean n
TextFieldBean LOVFieldBean
MWA Framework Beans (Cont.)
MWA Framework Beans (Cont.)
MWA Framework Beans (Cont.)
MWA Framework Beans (Cont.)
MWA Framework Event Model
MWA Framework has set of interfaces and class to handle events in
the page, fields and application level.
MWAEvent :
– This class holds the information about the event, such as
source of the event, type of event and session.
– When ever any event occurred object for this class will
be created and send to the listener to implement business
logic.
Types of Listeners:
– MWAPageListener
– MWAFieldListener
– MWAAppListener
MWA Framework Event Model (Cont.)
EventObject
MWAEvent
MWAListener
– MWA Personalization