I am working on a J2EE web-application. I would like to upgrade some of major open-source libraries from older version to newer one based on availability of libraries on maven repository. For example of libraries : Google-Sitebricks, Jetty, JSON, Jackson, JUnit, HttpClient etc. What would be the best way to ensure that the after upgrades, there are no side-effects/leakages happened in application. Here, I tested the application's basic functionalities like sanity test to ensure its working or breaking the things. I am wondering on what is the standard process need to be followed in such scenarios. Please suggest the effective & best approaches/practices for this. Thanks
Upgrading open source libraries in Web application
95 views Asked by SanoshGanapa At
1
There are 1 answers
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
Related Questions in JUNIT
- Reopening the application freshly through appium java script for Next Testcase
- Some of my tests show prepended with junit.framework
- Test Selector Plugin Jenkins returns No tests were executed
- Inject EntityManager in SwitchYard Junit implementation
- Java JUnit4: Make simple assertEquals Test pass
- Don't let test stop on failure
- How to test Reply<?> in sitebricks
- Arquillian Embedded Derby database columnDefinition="text"
- How do I write unit test (JUnit) to check Database connection using DAO class?
- Get full path of a package situated in source folder from junit
Related Questions in APACHE-HTTPCLIENT-4.X
- Apache Httpclient abort requests causing error
- What does setDefaultMaxPerRoute and setMaxTotal mean in HttpClient?
- How can HttpClient 4.5 be configured to parse cookies as part of a 401 auth negotiation?
- How to use SSL with Jersey 2.x and Apache Connection manager
- setMaxTotal and setDefaultMaxPerRoute in HttpClient?
- How to decide optimal settings for setMaxTotal and setDefaultMaxPerRoute?
- Java Form Login using HTTPClient library
- Android - Configuring Retrofit/Apache HttpClient for Digest Auth
- GitHub API rate limit does not exceed with Apache HttpClient
- Is client implementation for HTTP basic and digest authentication the same?
Related Questions in EMBEDDED-JETTY
- What's the difference between a ServletHandler and a ServletContextHandler in Jetty?
- Embedded Jetty doesn't recognise Spring MVC Security
- Is it possible to store static resources inside the uber jar created with an embedded jetty project?
- Embedded Jetty REST service with Welcome File
- Setting up JAX-RS to provide an API and serve up static resources
- Partial response in jetty REST service
- Embedded Jetty: How do I call setSessionTrackingModes without a ServletContextListener
- Jetty ResourceHandler in multi project gradle build looks in the wrong directory
- jetty Persistent Sessions
- Jetty custom authentication
Related Questions in SITEBRICKS
- How to test Reply<?> in sitebricks
- Sitebricks file download service throws AccessControlException - access denied
- How to handle HTTP response with a 4xx/5xx status code, Java servlet/HttpURLConnection
- Sitebricks and Channel Presence Service (GAE); Also having trouble with normal servlets
- How to sends multiple object over JSON from sitebricks client to sitebricks REST Service?
- Upgrading open source libraries in Web application
- How to exclude a URL when registering filters in ServletModule.configureServlets?
- Build sitebricks with maven
- Howto make a dynamic web module with sitebricks and annotations?
- How to automate retrieval of DTOs from Sitebircks service
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Test, test, and test. And then test some more.
Hopefully you have automated tests which will shake out problems. If not, you will find yourself spending a lot of cycles manually testing. Just sanity checks may not be enough; version upgrades can break functionality in subtle ways.
Even before you get to the testing, you may find that your application fails to compile after upgrading the libraries.
In any case, I would not upgrade many libraries all at once, except when upgrading a library causes a cascade of upgrades in transitive dependencies. Upgrading them one by one is the safest thing to do.