|Add Server Admin panel in own RCP Application [message #743214]
||Fri, 21 October 2011 04:19
Registered: October 2011
I am facing one problem in one RCP application. My application is a
server dependent application. Its a simple J2EE application which will
run in Application Server(WASCE), but as per the requirement I need to add
server control in my RCP application also, like user can start the
server , stop the server or can change the server password all those
things. Some thing like generally we do in Server View of Eclipse
IDE (I mean to say when we add the application server in IDE), only
difference will be in eclipse IDE we can add the Server in server view
as per our requirement and multiple times , but in this case there
will be only one server and one ear file deployed in it. Is that
possible in any way to extend that "Server View" in own RCP
application , so that the user user can have some sort of server Admin
control in RCP application or is there any other way to add Server
Admin panel in own RCP application through WASCE OSGi. Please help me
out . Thanks a lot in advance
|Re: Add Server Admin panel in own RCP Application [message #755583 is a reply to message #743214]
||Tue, 08 November 2011 16:03
| John Steele
Registered: June 2010
Location: Seattle, WA
If it were me, I would build my own server view because the server view within the Eclipse-IDE is tightly coupled to the Eclipse-IDE (e.g., runtime, ui, etc). |
If you're going to have your RCP application use all the Eclipse-IDE bundles then you might as well move the project into the IDE, and simply create your own perspective factory.
It isn't extremely hard to create a view with a simple Tree/Table-Viewer, and have its input be an object that represents a Server. Then just hook up the functionality buttons (e.g., start/stop, deploy artifact, etc.) to interact with that "Server" object.
Again, it's more work to do on your own, but it shouldn't be that daunting of a task.
Hope this helps.
Powered by FUDForum
. Page generated in 0.01538 seconds