In this blog, we will walk through the key features of Webswing 24.2 and explore how they help to further streamline the transition of desktop Java applications into modern web-based environments.

We are excited to announce the release of Webswing 24.2, which comes with a variety of new features designed to improve security, performance, and compatibility for Java applications in web environments.

Key Features of Webswing 24.2:

1. SWT Support: Expanding Java Application Compatibility

With version 24.2, Webswing brings full support for SWT (Standard Widget Toolkit), enabling you to run SWT-based Java applications directly in a web browser. This much-anticipated feature is a game changer for developers looking to web-enable a broader range of Java applications, extending Webswing’s capabilities beyond Swing, JavaFX, Netbeans and Applets. Webswing now ensures seamless integration, opening up new possibilities for delivering feature-rich Java desktop applications in a web environment.

2. LDAP Security Module: Enhanced Enterprise Security

Security is a top priority in any enterprise environment, and Webswing 24.2 takes another step forward with the introduction of the LDAP Security Module. In addition to the already robust options (e.g. SAML2, OIDC), Webswing now natively supports LDAP authentication and authorization. This makes it easier for organizations using LDAP to manage user access securely, while allowing Webswing to fit seamlessly into existing security infrastructures. This enhancement strengthens the security model for large-scale deployments where integrating corporate security protocols is essential.

3. XHeadless: Simplified Deployment on Headless Linux

One of the challenges of running Swing applications on Linux is the need for an XServer. Up until now, users often relied on XVFB (a virtual frame buffer) to provide this functionality in headless environments. However, not all Linux distributions come with XVFB readily available. To address this, Webswing 24.2 introduces XHeadless, a lightweight alternative to XVFB that provides the necessary XServer functionality for running Swing applications in a headless Linux environment. With XHeadless, administrators can now easily deploy Webswing on minimal Linux setups without the extra overhead of installing XVFB, making it an ideal solution for cloud or container-based deployments.

4. Full Content-Security-Policy (CSP) Support: Strengthening Application Security

In this release, Webswing enhances its security framework by introducing full support for Content-Security-Policy (CSP), adhering to OWASP’s recommended strict policies. CSP provides administrators with the ability to control how resources, like JavaScript and CSS, are loaded, reducing the risk of malicious content being injected into the application. By enforcing a strict CSP, Webswing mitigates the threat of cross-site scripting (XSS) attacks and unauthorised resource access, ensuring a safer user experience for both developers and end users.

5. Admin Console Data Loading Optimisations: Improved Performance for Large Deployments

For administrators managing large-scale deployments with hundreds of sessions, the Webswing Admin Console can occasionally become slow due to the volume of data being processed. To solve this, Webswing 24.2 introduces data loading optimisations that significantly improve the responsiveness of the Admin Console. This enhancement ensures a smoother user experience, allowing administrators to manage and monitor Webswing environments with ease, even in high-demand scenarios.

6. Improved Process Diagnostics: Simplified Troubleshooting

Diagnosing issues in complex applications can be time-consuming. With Webswing 24.2, new tools are introduced to simplify troubleshooting. Administrators can now generate automatic thread dumps and session heap dumps directly from the Admin Console. These diagnostics allow developers and support teams to analyse memory usage and thread activity, helping to quickly identify and resolve application issues. By providing a real-time snapshot of memory and running processes, this feature greatly enhances the debugging process, making support more efficient.

7. Custom Server Error Pages: Enhanced User Experience and Security

In previous versions, error pages such as 404s would sometimes expose server details, which could be a potential security risk. Webswing 24.2 resolves this with custom server error pages that provide a more user-friendly and secure experience. Administrators can now design branded error pages that not only offer a polished look but also prevent the accidental exposure of sensitive server information. This is a win-win for both user experience and security, as it allows you to maintain a professional interface while keeping internal details hidden.

8. Future/Promise-based Messaging in JsLinkDirect: Asynchronous Communication Made Easy

Webswing’s asynchronous messaging API, JsLinkDirect, now supports Future/Promise-based messaging, making it easier for developers to handle responses in asynchronous workflows. This update simplifies code management and enhances the overall developer experience when building applications that rely on server-client communication.

A Major Step Forward for Web-based Java Applications

Webswing 24.2 is a major release that introduces a host of new features, each designed to improve the performance, security, and usability of Java applications in web environments. From the long-awaited support for SWT to enterprise-grade LDAP integration, Webswing continues to expand its capabilities, making it the go-to solution for web-enabling Java applications.


Stay ahead of the curve by upgrading to Webswing 24.2 and experience the next level of web-based Java application performance.


This new release sets the stage for future developments, and we’re excited to see how you take advantage of these new tools and features in your own projects!


For more info and to get started with Webswing 24.2, visit Download Section or follow our Documentation.

arrow_back_ios

PreviousMeet us in W-JAX, Munich

NextWebswing: Your Java Web Start Alternative

arrow_forward_ios