Migrating from JxBrowser to Equo Chromium: A Simple and Fast Drop-In Replacement

Sebastian Sampaoli on May 3rd 2023


If you're currently using JxBrowser instances in your application, you might be feeling frustrated with performance issues or compatibility problems. Fortunately, there's a new solution on the market that can offer enhanced performance, native tooling, and windowing integration with no CPU or memory overhead. That solution is Equo Chromium – a drop-in replacement for JxBrowser instances that's designed to integrate seamlessly with your application.

One of the key benefits of Equo Chromium is its native Swing and SWT implementation. Unlike other browsers that require bridging or event translations, Equo Chromium provides the best native integration with the GUI toolkit, ensuring that your application looks and feels like a cohesive whole.

With hardware acceleration and native tooling, you can rest assured that Equo Chromium will run smoothly without consuming excessive CPU or memory resources.

And because Equo Chromium is based on our successful open-source browser, you can be confident in its reliability and stability. Equo Chromium is used by hundreds of mission-critical applications, and our enterprise support is second to none.

If you're ready to migrate from JxBrowser to Equo Chromium, the process is simple and straightforward. Here are the steps you need to follow:

  • 1. Request a free trial of Equo Chromium from our website here. You'll receive an email with the release binaries you need to complete the migration process.
  • 2. Add the latest Equo Chromium Jx and Equo Chromium versions to your project properties. If you're using Maven, add the following configuration to your pom.xml:
<properties>
    <chromium.version>[CHROMIUM VERSION]</chromium.version>
    <chromium.jx.version>[CHROMIUM JX VERSION]</chromium.jx.version>
</properties>

  • If you're using Gradle, add the following lines to your build.gradle.kts:
val chromiumVersion = "[CHROMIUM VERSION]"
val chromiumJxVersion = "[CHROMIUM JX VERSION]"

  • 3. Add the repository with the binary you received in the email when you requested the free trial. You can find it by opening the repository and checking the dependencies section. For Maven, add the following to your pom.xml:
<repositories>
    <repository>
      <id>Equo-Chromium</id>
      <url>[REPOSITORY]</url>
    </repository>
</repositories>

  • If you're using Gradle, add the repository to your build.gradle.kts:
repositories {
    maven(url = "[REPOSITORY]")
}

  • 4. Add the following dependencies with the latest Equo Chromium Jx versions and OS. For Maven, add the following to your pom.xml:
<dependencies>
    <dependency>
        <groupId>com.equo</groupId>
        <artifactId>com.equo.chromium.jx</artifactId>
        <version>${chromium.jx.version}</version>
    </dependency>
    <dependency>
        <groupId>com.equo</groupId>
        <artifactId>com.equo.chromium.cef.[PLATFORM].x86_64</artifactId>
        <version>${chromium.version}</version>
    </dependency>
</dependencies>

  • If you're using Gradle, add the following to your build.gradle.kts:
dependencies {
    implementation("com.equo:com.equo.chromium.cef.[PLATFORM].x86_64:${chromiumVersion}")
    implementation("com.equo:com.equo.chromium.jx:${chromiumJxVersion}")
}

Note that the variable [PLATFORM] must have one of the following values: win32.win32, gtk.linux or cocoa.macosx.

In conclusion, migrating from JxBrowser to Equo Chromium is a simple and straightforward process that can be done in just a few steps. With Equo Chromium, you get a drop-in replacement for JxBrowser that provides enhanced performance and native integration with Swing and SWT. Plus, it's open-source and used by hundreds of mission-critical applications, so you can trust it for your own projects.

If you're interested in trying out Equo Chromium for yourself, you can request a free trial on our website. We're confident that you'll see the benefits of Equo Chromium.

Equo

© 2024 Equo Tech, Inc.