16
2016 – CIO Intern Project Final Review 1 Java Server Faces (JSF) Upgrade Manufacturing Configurators Tools Support (CTS) Sue Lambert (Reporting Manager) Julio Cesar Ruelas (Functional Manager) John C. Richard (Technical Lead) • Vishwanarayan Sriganesh (Software Developer Intern)

Vishwanarayan Sriganesh (1)

Embed Size (px)

Citation preview

Page 1: Vishwanarayan  Sriganesh (1)

2016 – CIO Intern Project Final Review 1

Java Server Faces (JSF) Upgrade

Manufacturing Configurators Tools Support (CTS)

• Sue Lambert (Reporting Manager)• Julio Cesar Ruelas (Functional Manager)• John C. Richard (Technical Lead)

• Vishwanarayan Sriganesh (Software Developer Intern)

Page 2: Vishwanarayan  Sriganesh (1)

AGENDA• Objective• Definition and Purpose• Problems• Research and Analysis• Hypothesis• Data• Procedure• Observation• Software and Tools used• References and Sources

2016 – CIO Intern Project Final Review

Page 3: Vishwanarayan  Sriganesh (1)

OBJECTIVE• Java Server Faces (JSF) major upgrade from version 1.1 to 2.0 for

two Major Applications – MFCTableManagement and NewCCOVSearch under the Manufacturing Configurator Domain

• This Upgrade is essential for the applications to comply with the current WebSphere Application Server version Specification and standards and also to resolve compatibility issue

2016 – CIO Intern Project Final Review

Page 4: Vishwanarayan  Sriganesh (1)

DEFINITION AND PURPOSE

2016 – CIO Intern Project Final Review

• JavaServer™ Faces (JSF) is the standard component-oriented user interface (UI) framework for the Java EE platform. It is also referred to as a Java based Web Framework

• JSF is often used together with Ajax, a Rich Internet application technology. Ajax is a combination of technologies that make it possible to create rich user interfaces

• JSF is a component based MVC framework which is built on top of the Servlet API, and provides components via taglibs which can be used in Java based view technologies such as JSP’s and Face lets

• RSA works well with JSF that helps users to use the built in palettes and other components as drag and drop on the user interface with built in Code and Graphical layouts rather than manual coding

Page 5: Vishwanarayan  Sriganesh (1)

PROBLEMS

2016 – CIO Intern Project Final Review

Compatibility issues for two of the major applications (MFCTableManagement and NewCCOVSearch)post upgrade of WebSphere Application Server from version 7.0 to 8.5

• Full Page Refresh on page action• Drop down loads and refresh for fields• JIBX compilation with new JAVA Version (8.0)• No progress intimation to user regarding loading on search• Usage of IBM extended Libraries for the Front end styles(Not

supported for JSF 2.0)

Page 6: Vishwanarayan  Sriganesh (1)

RESEARCH AND ANALYSIS

2016 – CIO Intern Project Final Review

• Java Server Faces version and usage with J2EE application information

• Compatibility check for JSF with WebSphere Application Server 8.5• Agile Methodology and Environment – Sprints, Work items, Story

Points, Retrospective and other Agile Terminologies• Pros and Cons for using JSF 2.0 and JSF 2.2 with WAS 8.5• Application and Application Libraries compatibility and usage with

JSF 2.0• Rational Software Architect (RSA) and Rational Team Concert

(RTC) coexistence • Configuration and Setup of Development Environment with

WebSphere Application Server for Developers integrated with RSA

Page 7: Vishwanarayan  Sriganesh (1)

HYPOTHESIS

2016 – CIO Intern Project Final Review

JAVA Server Faces (JSF) version 2.0 is assumed to be the latest version that is compatible with the WebSphere Application Server version 8.5

Page 8: Vishwanarayan  Sriganesh (1)

DATA

2016 – CIO Intern Project Final Review

• JAR files required for the upload functionality on the install page for MFCTableManagement application

• Plugin files required for the Development Environment setup for the Rational Software Architect and Rational Team Concert

• JIBX Binding files (JAR files) required as part of MFCTablemanagement application development

• Information regarding JSF compatibility with WebSphere Application Server 8.5

• JSP version of the application and server files were required for performing a diff with the new updated ones

Page 9: Vishwanarayan  Sriganesh (1)

PROCEDURE – DEV ENV SETUP

2016 – CIO Intern Project Final Review

• Development Environment setup for the MFCTableManagement and NewCCOVSearch applications for working on with the JSF upgrade

• Configuration and set up of WebSphere Application Server to the Rational Software Architect and documenting the reference steps

• Getting to know the compatibility of JSF version with the existing WebSphere Application Server 8.5

• Downloading necessary JAR files and additional libraries that are required to support some of the features like upload and install and to avoid IBM’s extension libraries on the web pages

Page 10: Vishwanarayan  Sriganesh (1)

PROCEDURE – CHANGES

2016 – CIO Intern Project Final Review

• Conversion of the front end web pages from a .jsp to a .faces format(XHTML) files

• Conversion of the Deployment descriptors version for the war portion from 2.4 to 3.0 and ear portion of the application from 1.6 to 6.0

• Update to the faces-config.xml and the JAVA class files as required to bring the application working to the newest format

• Making changes to the application’s properties file as required• Removal of IBM extensions for the JSF

Page 11: Vishwanarayan  Sriganesh (1)

PROCEDURE–TEST & DEPLOYMENT

2016 – CIO Intern Project Final Review

• Running and debugging the application on the Development environment to verify that all the changes looks good

• Performing a diff with the existing project and system files to ensure that we didn’t miss any of the changes or contents required for the applications and reverting the changes for the properties file

• Cleaning the project, compiling and running an ANT build for the project for generating a new ear file for the project

• Taking back up of the existing ear file for the application via the admin console for the DEV system

• Update the application with the new ear via the admin console for the changes to take effect

• Restart the application and the server for the changes to take place and pushing the applications to the other environments accordingly post validation

• Getting User Acceptance Testing Performed on the apps post deployment

Page 12: Vishwanarayan  Sriganesh (1)

OBSERVATION

2016 – CIO Intern Project Final Review

• Component refresh instead of full page refresh for the web pages• Drop Down refresh and updates as per the user click actions• Additional feature of loading spinning wheel image and information

added to show the progress on user action like search• Replacing the additional IBM extended components by the JSF

specific library files• ANT Build Compilation for JIBX was successful post reference to

older JAVA Version (7.0)

Page 13: Vishwanarayan  Sriganesh (1)

SOFTWARE AND TOOLS USED

2016 – CIO Intern Project Final Review

• File transfer, uploads and Downloads- (FileZilla and WinSCP)

• Server Restarts and Troubleshooting - (Putty)

• Development Environment - (RSA, RTC, Beyond Compare and Notepad)

• Application Config and Deployment - (WebSphere Application Server V8.5)

• Documentation (Microsoft Word and Snipping Tool) -

Page 14: Vishwanarayan  Sriganesh (1)

CONCLUSION

2016 – CIO Intern Project Final Review

Both the Major two applications (MFCTableManagement and NewCCOVSearch) have been updated for the Java Server Faces from version 1.1 to 2.0 in order to have their web pages user friendly and compatible with the existing current WebSphere Application Server which is version 8.5

Page 15: Vishwanarayan  Sriganesh (1)

REFERENCES & SOURCES

2016 – CIO Intern Project Final Review

* Several sources and websites have come handy and useful throughout the implementation of this project. Few of the important ones are highlighted below.

•www.stackoverflow.com•www.oracle.com•https://www.ibm.com/developerworks/community•www.w3schools.com•www.quirksmode.org •http://www.javaserverfaces.org/

* Also, my Team Lead John C Richard was very much helpful in guiding and assisting me with the project research and implementation processes

Page 16: Vishwanarayan  Sriganesh (1)

Q & A TIME!

2016 – CIO Intern Project Final Review