Rob Spoor wrote:That method was added in version 1.1 of the validation framework; see https://docs.oracle.com/javaee/7/api/javax/validation/Configuration.html#getDefaultParameterNameProvider--. Since you're using JBoss 6.1, which is ancient, it probably provides version 1.0.
I'm curious though - why are you a) using JBoss 6.1, which is ancient, and b) using Spring Boot inside a container, whereas one of its main selling points is to not have to depend on a container?
If you need ReST (or any other HTTP request) to set off a long-running process, then you should use the HTTP request to queue up an out-of-band processor and either poll for completion (as successive periodic HTTP requests) or provide some sort of callback mechanism to notify anyone who wants to know when the long-running request is done. Email, for example.
srini saitala wrote:In the below code, the line "System.out.println(sumInteger(bigs) == sumInteger(bigs));" displays as false. But when again we compare the another Integer wrapper classes "System.out.println(bc == ab);", it return true. Why the comparison of wrapper classes is false in the first case and true in the second case.
Please suggest me on this.
Tim Holloway wrote:This can be done via OS utilities, custom applications, or a specialized application of a type called ETL (Extract, Transform, Load). Some DBMS's come with ETL tools (may be extra-cost, though). There are also general-purpose ETL tools such as Talend and Pentaho DI.
I've used Pentaho to migrate DBMS's from IBM iSeries DB2 to Linux Apache Derby, to pull tables from a Linux DB2 database and FTP to a remote analytics service in CSV form, to extract data from a timesheet system and store it in MySQL and more. It can read and write any JDBC-compliant database as well as a large number of other data sources and destinations, including Excel spreadsheets and AWS S3 cloud storage. It've also uploaded 40GB CSV files into MySQL tables. It is designed to operate with large quantities of data efficiently and can operate in parallel for greater throughput. It can even be run embedded - I've done that in a webapp. It's available in a free open-source version (in Java) and with full paid commercial support from Hitachi Corporation.
Tim Moores wrote:Assuming the calls are legitimate, you may need to throttle the service so that no more than N requests are serviced at any one time. If there's no chance to speed up the code, you could move the service to its own server, so that it's not impacted by whatever else is going on on that server.