AppServerDKInstallationHelper??

What on earth does the DK in this classname stand for? What exactly is the ServerDKInfo object supposed to contain?

I'm writing an appserver plugin and it's hugely unclear how to go about this based on the current API. Are there any docs at all forthcoming for this? Some basic javadocs on each of the classes would go a long way to help.

4 comments
Comment actions Permalink

Well, first of all a few words about what is ServerDK (it will be renamed to
ApplicationServer or maybe someone can suggest better alternative?).

ApplicationServer is the number of jars included into the j2ee module
library in order to compile the project (like jdk, that's the reason why we
called it ServerDK) and the such set of jars (it can be another set) is used
in run configuration in order to run server or to work with the server api
(weblogic integration does this). Switching to startup/shutdown scripts can
probably make ApplicationServer useless in RunConfiguration.

AppServerDKInstallationHelper just helps to customize this set of jars. For
exaple, if I'm very advanced weblogic user I know that I have to add
c:/bea/weblogic81/server/lib/weblogic.jar into my ApplicationServer. But
weblogic integration provides helper wich can found this jar basing on
information about weblogic home and version.

What's about comments... We change j2ee openapi too fast and we're planning
to write comments when j2ee openapi becomes a little more stable.
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Hani Suleiman" <hani@formicary.net> wrote in message
news:32109086.1085025070226.JavaMail.itn@is.intellij.net...

What on earth does the DK in this classname stand for? What exactly is the

ServerDKInfo object supposed to contain?
>

I'm writing an appserver plugin and it's hugely unclear how to go about

this based on the current API. Are there any docs at all forthcoming for
this? Some basic javadocs on each of the classes would go a long way to
help.


0
Comment actions Permalink

And probable these helpers should (can) help user to find/create
startup/shutdown executable files (or scrupts for servers like orion) and
customize these files/scripts for local debugging (if it's necessary).

--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Olesya Smirnova (JetBrains)" <lesya@intellij.com> wrote in message
news:c8i0tr$d5f$1@is.intellij.net...

Well, first of all a few words about what is ServerDK (it will be renamed

to

ApplicationServer or maybe someone can suggest better alternative?).

>

ApplicationServer is the number of jars included into the j2ee module
library in order to compile the project (like jdk, that's the reason why

we

called it ServerDK) and the such set of jars (it can be another set) is

used

in run configuration in order to run server or to work with the server api
(weblogic integration does this). Switching to startup/shutdown scripts

can

probably make ApplicationServer useless in RunConfiguration.

>

AppServerDKInstallationHelper just helps to customize this set of jars.

For

exaple, if I'm very advanced weblogic user I know that I have to add
c:/bea/weblogic81/server/lib/weblogic.jar into my ApplicationServer. But
weblogic integration provides helper wich can found this jar basing on
information about weblogic home and version.

>

What's about comments... We change j2ee openapi too fast and we're

planning

to write comments when j2ee openapi becomes a little more stable.
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Hani Suleiman" <hani@formicary.net> wrote in message
news:32109086.1085025070226.JavaMail.itn@is.intellij.net...

What on earth does the DK in this classname stand for? What exactly is

the

ServerDKInfo object supposed to contain?
>

I'm writing an appserver plugin and it's hugely unclear how to go about

this based on the current API. Are there any docs at all forthcoming for
this? Some basic javadocs on each of the classes would go a long way to
help.

>
>


0
Comment actions Permalink

Ok, I think this makes sense. The DK object holds 'global' info about a particular appservers, eg what jars it needs for 'running'. Now, should this info be used whenever you run a particular instance, or should it be used when communicating with the server (eg, for remote RMI purposes)?

I'm just trying to figure out how this maps to Orion. Orion for example doesn't have the concept of multiple 'servers' without one install, it's just the one server. A different 'server' would in effect be a different orion home directory. So what info would go in the DK object, and what would go into the InstanceRunConfiguration?

0
Comment actions Permalink

>Now, should this info be used whenever you run a particular instance, or
should it be used when communicating >with the server (eg, for remote RMI
purposes)?

You can use them at your option (or ignore them at all).

I don't know how Orion works, so, let we see weblogic. I can run application
related to some weblogic domain using weblogic.jar (ApplicationServer) from
another home directory. And my project can be compiled with yet another
weblogic.jar (ApplicationServer2) from some third home directory (it's a
stupid case but it's possible).
So info in ApplicationServer depend on user choose (he chooses weblogic home
dir and version). I don't now how is can be implemented in the Orion plugin.
As I can see you're going to run the server through JavaCommandLine. I think
it makes sense to use ApplicationServer in order to compose these
parameters.


--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Hani Suleiman" <hani@formicary.net> wrote in message
news:18017289.1085065602526.JavaMail.itn@is.intellij.net...

Ok, I think this makes sense. The DK object holds 'global' info about a

particular appservers, eg what jars it needs for 'running'. Now, should this
info be used whenever you run a particular instance, or should it be used
when communicating with the server (eg, for remote RMI purposes)?
>

I'm just trying to figure out how this maps to Orion. Orion for example

doesn't have the concept of multiple 'servers' without one install, it's
just the one server. A different 'server' would in effect be a different
orion home directory. So what info would go in the DK object, and what would
go into the InstanceRunConfiguration?


0

Please sign in to leave a comment.