CORS Filter with improved performance

The new 2.5 release of the CORS Filter for handling cross-domain requests offers improved performance. This benefits Java web servers that handle lots of traffic, particularly situations when a significant proportion of that is invalid or unauthorised CORS requests. The improvement is achieved by using static (cached) exceptions within the filter. Here is an an […]

CORS Filter with automatic reconfiguration

Version 2.4 of the Java CORS Filter for handling cross-domain requests has added support for automatic reconfiguration. You can change your CORS policy at runtime without having to reload your web service or application. Kudos to Alexey Zvolinsky for contributing this cool new feature. Automatic reconfiguration is provided by a special variant of the CORS […]

Finding the most efficient Java ObjectOutput method for strings

Coding distributed services and apps often calls for marshalling Java objects into a binary form that can be streamed over the network. Infinispan, for example, requires objects to be serialised so they can be multicast to the nodes of the data grid. The standard Java serialisation implementation packs a lot of object data in order […]

CORS Filter 1.7 with more configuration options

The Java servet filter for enabling CORS (cross-domain) web applications received a major upgrade today. Up until now in order to change the out-of-the-box CORS configuration you had to add filter init-params in the web.xml descriptor of your application. A number of developers asked for alternative configuration means, such as specifying a properties file for […]

All JSON-RPC 2.0 libraries are now in Maven Central

The migration from Ant to Maven is now complete and all Java libraries for handling JSON-RPC 2.0 messages are now published in Maven Central. You can find them under the com.thetransactioncompany.com groupId: JSON-RPC 2.0 Base JSON-RPC 2.0 Server JSON-RPC 2.0 Client JSON-RPC 2.0 Access Filter The useful JSON-RPC 2.0 Shell tool, available for purchase, has […]

JSON-RPC 2.0 libraries and tools switch to Maven

The Java libraries and tools for JSON-RPC 2.0 message serving and processing now use Apache Maven to build. Migrating the previous Apache Ant scripts took about a day a to complete and was not without hassles, notable the ZIP package distribution and the automatic versioning of JavaDocs. We’ll now be able to gain from Maven’s […]

The JSON-RPC 2.0 Client can now handle GZIP and DEFLATE compression

Does your JSON-RPC server return large amounts of data? If so applying HTTP response compression can greatly reduce network traffic and response time, occasionally by a whole magnitude if your JSON structures contain long repeating keys or values. Today we released a new version of the JSON-RPC 2.0 Client library for Java that adds support […]

Access filters for JSON-RPC 2.0 services

Services on the web often have to be controlled for who and how accesses them. If they deal with sensitive data, such as usernames and passwords, you may want to ensure that all requests come in over encrypted HTTPS. If you’re running a private service, you may want to ensure that only selected internet hosts […]