Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Scriptable Java Applications

Scriptable Java Applications

Scheduled Pinned Locked Moved Java
javahtmldatabaseoraclecom
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Otto Grunf
    wrote on last edited by
    #1

    (new to Java) Looking into making a Java application scriptable I found that the platform supports it (Scripting for the Java Platform[^]) and a couple of articles: - Scripting for the Java Platform[^] - Sript Thy Java App[^] I wonder if anybody here has any 'real-world' experience with this? Any examples of scriptable Java applications? Thanks in advance.

    J S 2 Replies Last reply
    0
    • O Otto Grunf

      (new to Java) Looking into making a Java application scriptable I found that the platform supports it (Scripting for the Java Platform[^]) and a couple of articles: - Scripting for the Java Platform[^] - Sript Thy Java App[^] I wonder if anybody here has any 'real-world' experience with this? Any examples of scriptable Java applications? Thanks in advance.

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      Otto Grunf wrote:

      I wonder if anybody here has any 'real-world' experience with this?

      Don't do it because you think it will make the application 'simpler' or 'easier' to maintain. And most definitely don't do it because you think that non-developers will then be able to modify the behavior of the system.

      O 1 Reply Last reply
      0
      • J jschell

        Otto Grunf wrote:

        I wonder if anybody here has any 'real-world' experience with this?

        Don't do it because you think it will make the application 'simpler' or 'easier' to maintain. And most definitely don't do it because you think that non-developers will then be able to modify the behavior of the system.

        O Offline
        O Offline
        Otto Grunf
        wrote on last edited by
        #3

        jschell wrote:

        Don't do it

        It certainly looks like nobody else is doing it.

        J 1 Reply Last reply
        0
        • O Otto Grunf

          jschell wrote:

          Don't do it

          It certainly looks like nobody else is doing it.

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          I have done it which is why I know about the limitations I noted previously. I even use it in a very, very limited way in the application I currently support.

          O 1 Reply Last reply
          0
          • J jschell

            I have done it which is why I know about the limitations I noted previously. I even use it in a very, very limited way in the application I currently support.

            O Offline
            O Offline
            Otto Grunf
            wrote on last edited by
            #5

            The application would be a barebone analog of NetLogo[^] , Agent Based Model Simulation environment. One of the requirements that there is a scriptable interface allowing users to setup the simulation, create 'agents' and run the whole thing. It is for demonstrational purposes only so I doubt there would be many users. My other options are to make it in Python or Ruby from the grounds up. Thanks again for the input, I appreciate it.

            S J 2 Replies Last reply
            0
            • O Otto Grunf

              The application would be a barebone analog of NetLogo[^] , Agent Based Model Simulation environment. One of the requirements that there is a scriptable interface allowing users to setup the simulation, create 'agents' and run the whole thing. It is for demonstrational purposes only so I doubt there would be many users. My other options are to make it in Python or Ruby from the grounds up. Thanks again for the input, I appreciate it.

              S Offline
              S Offline
              Shahid abbasi
              wrote on last edited by
              #6

              Any body can help ! I want to convert psd file or images to jpeg,jpg or png format Shahid Abbasi

              1 Reply Last reply
              0
              • O Otto Grunf

                (new to Java) Looking into making a Java application scriptable I found that the platform supports it (Scripting for the Java Platform[^]) and a couple of articles: - Scripting for the Java Platform[^] - Sript Thy Java App[^] I wonder if anybody here has any 'real-world' experience with this? Any examples of scriptable Java applications? Thanks in advance.

                S Offline
                S Offline
                Shahid abbasi
                wrote on last edited by
                #7

                What do you want exactly please let me know

                1 Reply Last reply
                0
                • O Otto Grunf

                  The application would be a barebone analog of NetLogo[^] , Agent Based Model Simulation environment. One of the requirements that there is a scriptable interface allowing users to setup the simulation, create 'agents' and run the whole thing. It is for demonstrational purposes only so I doubt there would be many users. My other options are to make it in Python or Ruby from the grounds up. Thanks again for the input, I appreciate it.

                  J Offline
                  J Offline
                  jschell
                  wrote on last edited by
                  #8

                  Otto Grunf wrote:

                  users to setup the simulation, create 'agents' and run the whole thing

                  As I already mentioned - either you have users who are not programmers or you have users who are. If the later then the question becomes what you are saving by having a script engine versus a framework that can have new modules added. If you don't have users are programmers then a script language will not solve any problems. Which isn't to say that users might learn to be programmers but then they will still be programmers.

                  O 1 Reply Last reply
                  0
                  • J jschell

                    Otto Grunf wrote:

                    users to setup the simulation, create 'agents' and run the whole thing

                    As I already mentioned - either you have users who are not programmers or you have users who are. If the later then the question becomes what you are saving by having a script engine versus a framework that can have new modules added. If you don't have users are programmers then a script language will not solve any problems. Which isn't to say that users might learn to be programmers but then they will still be programmers.

                    O Offline
                    O Offline
                    Otto Grunf
                    wrote on last edited by
                    #9

                    jschell wrote:

                    a framework that can have new modules added

                    Now this looks better than messing with scripting engine since Java classes are available to Groovy, Jython and jruby (maybe javascript too?)

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups