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 best solutions below
Related Questions in JSON
- Handling both JSON and form values in POST request body with unknown values in Golang
- JSON Body is Not Passing Certain Strings
- Custom rewriter for json
- TypeScript: Type checking while parsing an arbitrary JSON that is typed/
- I dont understand what to do with: System.Text.Json.JsonException: 'The JSON value could not be converted to System.Collections.Generic.IEnumerable`1
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Dynamic Nested Multi-Dimensional Arrays in Rust
- Creating bar chart in FastAPI
- How to encode ttsJson data?
- Trying to get the id of the last element in my json file through an api
- How to give index id to my uploaded json file in FastAPI?
- JQ JSON - Values to Array
- Spring boot JSON parse error: Unexpected character error
- convert csv file with json data inside to a column, rows table in 2nd csv file
- Sigma.JS custom rendering
Related Questions in JUNIT
- Embedded Kafka Failed to Start After Spring Starter Parent Version 3.1.10
- Springframework test: Async not started
- Problems running both JUnit tests and Selenium/Cucumber tests at the same time
- Writing test methods with shared expensive set-up
- Mocking Stream or Reader in Java Junit
- Junit test: NoSuchElementException, Mock getConnection
- Get program traces with JaCoCo
- Junit test with Mockito: Error ExceptionInInitializerError
- How to Mock HttpResponse
- How to mock dependency in service class from Junit
- classNotPreparedForTest exception, using JUNIT5, MOCKITO and POWERMOCKITO
- Ant Junit ForkMode with Suites
- I import JUnit to Eclipse and still does not work
- Mock DriverManager.getconnection method for junit/mockito unit tests
- throwing a StaleElementReferenceException during dictionary iteration in a for loop
Related Questions in APACHE-HTTPCLIENT-4.X
- RestEasy client freezes with custom httpEngine
- How to pass binary data in the form fields in Java using HttpClients object
- What happens when the response is not closed with Apache Connector in Jersey Client?
- setRelativeRedirectsAllowed() in RequestConfig apache-httpclient 5.x
- Apache Http test cases using Junit
- How do I safely resume with HTTP clients after Coordinated Restore at Checkpoint?
- Apache HttpClient 5 pool without timeout
- How to migrate/update ssl connectivity from Apache httpClient 4.2.6 to httpClient 4.5.14 in bean xml
- Java Apache HTTP client: initialize persistent file cache
- I received an error org.apache.hc.core5.http.NoHttpResponseException: server failed to respond when i call API via quotaguard proxy in SpringBoot 3
- Spring Cloud Open Feign: HttpURLConnection and Apache HttpClient
- How to stream file uploaded by user to API through Java servlet (proxy) with Apache Client
- What is the Impact of Higher HTTP Connection Pool Manager Sizes on System Resources and Performance?
- Apache Http Client - Redirect URL gets URL decoded. Any way to work around?
- Apache HttpClients always takes 2x the configured ConnectTimeout to actually timeout?
Related Questions in EMBEDDED-JETTY
- Upgrading Jetty 9.4.12 to 9.4.53.v20231009
- Jetty server 12 - Not able to get the HttpServletRequest and HttpServletResponse objects inside handler method
- Add jsp-support to embedded Jetty 12
- Embedded Jetty WebSocket server in a different context
- unexpected error 404 - for resources registered in nested springboot jar
- Jetty 12 ResourceHandler configuration and MIME-types issues
- WSS server/client/jetty example
- How to create Rest API in Jetty 12 using Handler.Abstract
- How to migrate from embedded Jetty 10 to jetty 12 ee8?
- Getting 404 when accessing classes annotated with @Path in {war}/WEB-INF/classes in Jetty 9
- CONNECT through proxy removes additional headers required for authorization
- embedded jetty 9 restarting the server in every 3 minutes
- Embedded Jetty 12.0.3 - Running both EE8 and EE10 Webapps - Servlet class org.eclipse.jetty.ee8.jsp.JettyJspServlet is not a javax.servlet.Servlet
- How to use Jetty quickstart with embedded Jetty?
- Problem upgrading from gwt 2.9 to GWT 2.10
Related Questions in SITEBRICKS
- Method interception or validation of request params in Sitebricks controller
- Howto make a dynamic web module with sitebricks and annotations?
- Upgrading open source libraries in Web application
- Two sitebricks services using different HTTP method but with same URL depth, client gets 404
- How to test Reply<?> in sitebricks
- Guice 4.0-beta5 doesn't work with Sitebricks 0.8.10
- How to automate retrieval of DTOs from Sitebircks service
- Sitebricks file download service throws AccessControlException - access denied
- How to make browser download json returned from rest service
- How to inject request-scoped HttpSessions in sitebricks methods on GAE?
- How to exclude a URL when registering filters in ServletModule.configureServlets?
- Inject @SessionScoped value into filter with Guice
- ClassCastException while returning redirect url from post method
- Sitebricks service interception?
- How to send payload data using sitebricks web client using http delete method
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)
Popular # Hahtags
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?
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.