Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:46:58+00:00 2026-06-13T04:46:58+00:00

I have a simple java application that gets jmx connection url, object name and

  • 0

I have a simple java application that gets jmx connection url, object name and attribute name as inputs and outputs attribute value. This application runs hundreds of times every minute and has strict running time limitations. Recently many corner cases appeared (converting milliseconds to seconds, folding a list, etc.) and recompiling and redistributing this application becomes tedious.
So i’ve decided to switch to some scripting language with support for JMX.

I’ve tried groovy, jython and clojure and found that their initialization time is lengthy (around 0.9/1.2/3.5 for groovy/clojure/jython).

Is there anything with faster initialization speed or is there a way to decrease initialization time of these laguages without loading them from java?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:46:59+00:00Added an answer on June 13, 2026 at 4:46 am

    I have found a solution that should work across all java scripting languages it is nailgun.
    It has the same principle as jerk and cake suggested in other answers but it runs arbitary java classes.

    This blog post has a great instruction on how to run jython scripts with nailgun and i am sure it can be applied to other scripting languages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple Swing Java application that performs searches, and the results are
I have a simple java application that loads a properties file from the current
I have a simple java code which gets html text from the input url:
I have a simple java application that tests for collision off 4 walls and
I have an plain simple java application that use spring 2.5.5 and hiberate 3.3.1.GA.
Say, I have a pretty simple Java application that needs the way to store
I have a simple messaging application that gets the text of an editText box
I have a simple java code that reads text csv file that contains sentences
I have a simple Java class that I need to serialize to be stored
I have a simple Java class that has some methods: public class Utils {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.