DDU High Quality Web Application Development On Java EE Platform
DDU High Quality Web Application Development On Java EE Platform
discussions, stats, and author profiles for this publication at: http://www.researchgate.net/publication/224398744
READS
316
2 AUTHORS:
Harshadkumar B Prajapati
Vipul Dabhi
40 PUBLICATIONS 17 CITATIONS
42 PUBLICATIONS 34 CITATIONS
SEE PROFILE
SEE PROFILE
NOTICE
This material is presented to ensure timely dissemination
of scholarly and technical work. Copyright and all rights
therein are retained by authors or by other copyright
holders. All persons copying this information are
expected to adhere to the terms and constraints invoked
by each author's copyright. In most cases, these works
may not be reposted without the explicit permission of the
copyright holder.
Vipul K. Dabhi
I.
INTRODUCTION
Figure 2. Use of the MVC Design Pattern in the Java EE Platform based
web-application architecture
ROLE BASED DEVELOPMENT ON JAVA EE PLATFORM: ROLE, RESPONSIBILITIES, AND INVOLVEMENT OF PEOPLE IN DEVELOPMENT PROCESS
Role
Application
component
provider
Application assembler
Deployer
System administrator
Responsibilities
Creating EJB components, web components
Development, Integration
Deployment
Maintenance
roll back the transaction. The support for only either a single
transaction or no transaction at all is available from container
managed transaction. For fine-grained control over transaction,
the bean-managed transaction can be used. Here the code in the
session or message driven bean explicitly marks the boundaries
of the transaction using Java Transaction API (JTA).
C. Support for session managemen
Most of the web-applications on the Internet handle the
session using cookie mechanism. So, the users, who are
accessing such web-applications from browsers that do not
support cookie mechanism, cannot participate in session and
will not be able to access any personal resource. The encode
URL mechanism on Java EE platform automatically
determines whether the clients browser supports the cookie or
not, and then decides how the information about session
identification should be stored on client machine. If the clients
browser does not support the cookie or the cookie feature has
been disabled by the user, the session id value is encoded in
URL part of each hyper-link on the page that client is going to
use.
D. Customized error-pages
If a user is trying to access a resource, which is not
available, the server shows the error message 404
(SC_NOT_FOUND) resource not found exception. Instead, the
error page containing beautiful description in non-technical
English language is shown, the user will really understand the
cause of problem and sometimes feels that you care for the
users. A good web-application should not show the error
messages generated by application server or web-server
directly to users. As an example, a web-application can be
configured for 404 resource not found exception as shown in
Figure 4. Using this configuration, the error pages for userdefined error messages can also be specified. Instead of errorcode, the exception-type can also be specified. The
resourceNotFound.html file would contain error message in a
language understandable to user.
<error-page>
<error-code>404</error-code>
<location>/resourceNotFound.html</location>
</error-page>
Figure 4.
E. Internationalization/Multi-language Support
If information is provided to users in a language that they
understand and use, it would be easier for users to understand
and use the application. The Unicode support for strings is
inherent in the Java language [9]. The language also supports
locale specific formatting of number, currency, date, time, etc.
All such supports help a lot in making the Java EE platform [7]
based web-application an internationalized one and they also
increase the usability of web-application across the world.
V.
Attributes
High Performance
Extensibility
Scalability
Security
Robustness
Flexibility
Modularity
Reusability
TABLE III.
TABLE IV.
Functionality
Criteria
- Global site understandability
- On-line feedback and help features
- Interface and aesthetic features
- Special features
- Searching and retrieving capability
Efficiency
Maintainability
Controller
Reliability
View
JIT compiler for fast compilation of byte code, Separate thread per user request, Local EJB components to improve
performance.
All components are Object Oriented.
Java EE platform is providing distributed load balancing mechanism. It is a vendor specific feature mentioned in
specification.
Declarative and Programmatic Using URL masking.
Declarative and Programmatic security for Servlet
security for EJB component. Java
component.
Bean components are accessible
through view/controller.
Components run under control of JVM, dynamic class loader and byte code verifier.
Using JNDI based declarative Using master page, Using request-dispatching and forward methods,
database access configuration. file/page
inclusion, filter chain.
Change in model object using request dispatching,
scoped attributes is easily possible.
request forwarding
EJB jar modules
Tag library,
war war modules, filters
modules
Remote EJB object support
Custom tag library, Using request dispatching and forward methods.
page/file
inclusion, Filter chain.
links
Attributes [6]
Interface Design
Aesthetic Design
Content Design
Navigation Design
Architecture Design
Component Design
Attributes [1]
Usability
VI.
CONCLUSION
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]