Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28518

Re: application server, just without the "web" part...

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: application server, just without the "web" part...
Date 2014-05-17 07:42 -0400
Organization A noiseless patient Spider
Message-ID <ll7i54$fa5$1@dont-email.me> (permalink)
References <slrnln7g7t.bi9.avl@login.logic.tuwien.ac.at> <53740063$0$303$14726298@news.sunsite.dk> <slrnln9k0o.bi9.avl@login.logic.tuwien.ac.at> <5376b6f0$0$297$14726298@news.sunsite.dk> <slrnlnec02.bi9.avl@login.logic.tuwien.ac.at>

Show all headers | View raw


On 05/17/2014 05:46 AM, Andreas Leitgeb wrote:
> Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 5/15/2014 10:32 AM, Andreas Leitgeb wrote:
>>> Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 5/14/2014 3:16 PM, Andreas Leitgeb wrote:
>>>>> Startup-time still isn't exactly Java's strong point,...
>>>>> I'd like to consider some kind of application server, that would
>>>>> run the actual java-code of any number of jobs (of one user) in one
>>>>> jvm, and with an "interface", that would only allow that one user to
>>>>> start new jobs.
>>>> Why not run beanshell and run the classes from that.
>>>> $ java -cp wherebshis:whereyourstuffis bsh.Interpreter
>>>> bsh% somepackage.SomeClass.main(null);
>>>> bsh% somepackage.SomeOtherClass.main(null);
>>> I googled and found http://www.beanshell.org/javadoc/bsh/Interpreter.html
>>> I'm not yet sure if this will help me with separating multiple
>>> jobs running at the same time, but it might help me in my process
>>> of incrementally implementing what I need.
>>
>> Now I am confused.
>>
>> You worry about the JVM startup time - implying that it is
>> somewhat significant compared to job run time.
>> But you want to run multiple jobs in parallel - implying that
>> jobs run for a long time.
>
> There are short jobs, long jobs eventually spawning short
> jobs while running.
>
> In principle I could distinguish them beforehand and only
> use bean-shell for the short ones (running them serialized).
>
> However, I'm not sure if I can correctly predict it in
> all cases, so I'm looking for a general solution that
> won't require me to distinguish.
>

It's starting to sound like OSGI to me.
OSGI Standard Services
<http://en.wikipedia.org/wiki/OSGi#Services>

Or even a Business Process Management platform | framework

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-14 19:16 +0000
  Re: application server, just without the "web" part... markspace <markspace@nospam.nospam> - 2014-05-14 13:23 -0700
  Re: application server, just without the "web" part... leif.roar@invalid.com (Leif Roar Moldskred) - 2014-05-14 16:57 -0500
    Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-15 14:16 +0000
  Re: application server, just without the "web" part... Arne Vajhøj <arne@vajhoej.dk> - 2014-05-14 19:46 -0400
    Re: application server, just without the "web" part... Joerg Meier <joergmmeier@arcor.de> - 2014-05-15 12:25 +0200
      Re: application server, just without the "web" part... Arne Vajhøj <arne@vajhoej.dk> - 2014-05-16 21:06 -0400
    Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-15 14:32 +0000
      Re: application server, just without the "web" part... Arne Vajhøj <arne@vajhoej.dk> - 2014-05-16 21:10 -0400
        Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-17 09:46 +0000
          Re: application server, just without the "web" part... Jeff Higgins <jeff@invalid.invalid> - 2014-05-17 07:42 -0400
            Re: application server, just without the "web" part... Jeff Higgins <jeff@invalid.invalid> - 2014-05-17 08:52 -0400
              Re: application server, just without the "web" part... Jeff Higgins <jeff@invalid.invalid> - 2014-05-17 09:07 -0400
                Re: application server, just without the "web" part... Jeff Higgins <jeff@invalid.invalid> - 2014-05-17 09:12 -0400
                Re: application server, just without the "web" part... Luuk <luuk@invalid.lan> - 2014-05-17 15:35 +0200
                Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-06-16 18:21 +0000
        Re: application server, just without the "web" part... "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-05-17 10:49 +0100
  Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-15 14:10 +0000
  Re: application server, just without the "web" part... "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-05-17 11:00 +0100
    Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-03 17:51 +0000
      Re: application server, just without the "web" part... Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-03 18:29 +0000
        Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-03 18:43 +0000
        Re: application server, just without the "web" part... Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-03 19:43 +0000
          Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-04 07:36 +0000
            Re: application server, just without the "web" part... Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-04 12:13 +0000
              Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-05 00:43 +0000
                Re: application server, just without the "web" part... Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-05 09:14 +0000
                Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-05 10:43 +0000
                Re: application server, just without the "web" part... Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-05 21:45 +0000
  Re: application server, just without the "web" part... Roedy Green <see_website@mindprod.com.invalid> - 2014-06-20 08:09 -0700
  Re: application server, just without the "web" part... Roedy Green <see_website@mindprod.com.invalid> - 2014-06-20 08:13 -0700
    Re: application server, just without the "web" part... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-03 17:33 +0000

csiph-web