I would like to develop administrative jython-scripts for WebSphere 7. Is there any IDE (or may be plugins for eclipse) which provides code auto-completition functions, ability to start/stop server, debug jython scripts? I know that there is the Application Server Toolkit 6.1 but it is for WebSphere 6.1 and couldn't be applied to WebSphere 7.
In WAS 7, "IBM Rational Application Developer Assembly and Deploy V7.5" has replaced the AST. "IBM Rational Application Developer V7.5 for WebSphere" is a superset of "IBM Rational Application Developer Assembly and Deploy V7.5". Both ship with your copy of WAS, but the license for RAD is just a trial one, while the license for the assembly and deploy tool does not expire. See:
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/catk_assemblytools.html
Either should allow you to create/debug Jython/wsadmin scripts.
As for Python/Jython there is PyDev Eclipse plugin.
I got frustrated with Jython Wsadmin myself. I built a tool that uses a Groovy-DSL for my configuration:
Datasource
JdbcProvider
SIB, JmsQueue, Top
ActivationSpec
etc.
You can add it as a project dependency in IntelliJ and you got completion and inspection. You will be able to step through the script with a Debugger as in a regular Java program. I didn't test the start/stop server functionality, though.
I went as far as to make it useful for my purpose, pull requests welcome:
https://github.com/revaultch/wsadmin-groovy
Related
The previous version of JDK Mission Control 5.5.2 bundled with Oracle JDK 7 had the possibility to add a WebLogic plug-in, which allows viewing the SQL queries, servlets between other components as seen in this image.
Then the new JDK Mission Control 7.1.2+b04 doesn't seem to have a similar plug-in or at least it's more complicated to apply it.
When trying to investigate, the JMC is pointing to
https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/update-site-instructions/index.html
stating that the plugin must be installed via Eclipse 4.8 or later, so the latest Eclipse is 2012-12 was installed, and then the plugin with https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/ as well, as seen in this image:
The Eclipse IDE was restarted and now it got a new icon in the menu bar:
which connects (or at least it tries to connect) with the Java processes running in this local station:
but that's not the WebLogic plug-in I expected, similar to the one available in the previous version of JMC.
Does it exist a WebLogic plug-in in JMC7.1.2 similar to the existing in JMC5.5.2?
To install WebLogic plug-in for JMC, go to Help menu and select Install New Software menu item. Expand "Mission Control (Oracle)" and then "Flight Recorder" and you will find "WebLogic Pages" plug-in. Follow the instructions on screen to complete installation of plug-in.
This is described in the Oracle JMC 7 User Guide under Install JMC Standalone Application in the "Install Plug-ins for JMC Standalone Application" sub-section.
Currently I am using Eclipse. Can I use another IDE or a customized configuration for Eclipse to build for my project faster? I want to increase my production time.
Worklight 6.2 and above provide a command line interface which you can use instead of Eclipse.
With some development effort you could also take the CLI and hook it to other IDEs that provide pluggability options.
You can read more about the CLI, here:
For Worklight 6.2: Command Line Interface for IBM Worklight Developers
For MobilFirst 6.3 and above: Using CLI to create, build, and manage MobileFirst project artifacts
I have total 35 (and increasing) Worklight Adapters in my Worklight Hybrid App.
Now every time I power on my Mac, I need to deploy all those work light adapters ONE-BY-ONE
Is there any method by which I can deploy awl the adapters in single shot. As of now, I am unable to find out the way.
Anyone else faced the similar problem?
I am using:
Eclipse Java EE IDE for Web Developers.
Version: Juno Service Release 2
Build id: 20130225-0426
If that matters.
A Deploy All Adapters action is not available in Worklight Studio, but sounds like a rather useful feature for cases like yours. Feel free to submit a feature request.
After you power on the computer, open Eclipse and start the Worklight Development Server, and then visit Worklight Console, the apps and adapters are not available? I find it highly unlikely that you will need to re-deploy all of your adapters...
A possible workaround for it will be to enhance the Ant script that deploys apps and adapters, to deploy them all using a loop. Also see:
Ant tasks for building and deploying applications and adapters
just an easy quesition but I can't find any answer in this wonderful world wide web...
I just want to create a new Plugin Project based on Eclipse Helios. Normally this feature should be shipped with this version (Version: Helios Service Release 2 Build id: 20110301-1815) but I can't choose it via "file->new->Project". Do I have sth. to install previously?
Thanks a lot for any help guys ... :)
It is also possible to do plugin development with any eclipse classic version. (I am working with 4.2)
For plugin development in eclipse classic version you need to go
Help-->Install New Software--> In work with select version url provided by eclipse it self. e.g. in case of 4.2 Juno it will be Juno - http://download.eclipse.org/releases/juno
It will render all the possible plugin provided by eclipse it self.
In that list there will a Eclipse plugin development environment in General purpose tools.
Or you can get that one by writing plug in filter text box.
Select Eclipse plugin development environment and install it.
Now you can able to do plugin development in classic version also.
Hope this will be helpful.
Install Eclipse for RCP and RAP developers.
If you already installed Eclipse you can add on the Plug-in Environment from within Eclipse
https://www.eclipse.org/forums/index.php/t/273044/
The Plugin Perspective is not installed.
To get it: Help->Install New Software
Work With: --All Available Sites--
In the Filter Box, type "Plug-in"
Look for something that says "General Purpose Tools" and expand it.
Look for "Eclipse Plug-in Development Environment"
Click Next a few times and install it, then restart.
Exact verbiage may depend on your Eclipse version.
I am an Eclipse user.
I am going to be using Glassfish on a project.
Is the Glassfish IDE integration substantially better in NetBeans (or some other), or is the integration the same as Eclipse?
I can't compare it to eclipse because I never tried it in eclipse but I can cast my vote for Netbeans integration. I've been using it for a while with Netbeans and I am very satisfied with the result.
with the full set of JavaEE plugins in Eclipse, it's trivial to control/deploy to glassfish. Grab the JavaEE version of Eclipse and follow the wizard for creating a new enterprise application.
Generally speaking, unless you're debugging the only intergration you really need is: start, stop, deploy. You can make almost any IDE/script/buildfile do that. Stick with the IDE you're most productive in.
I stuck with Eclipse.
Glassfish IDE integration is better with NetBeans.
The plugin for Eclipse isn't quite ready for primetime.
https://glassfishplugins.dev.java.net/eclipse34/
My personal experience is that Eclipse with the Java EE extensions are more than sufficient for development, and deployment of JAX-WS apps are faster in Eclipse than with Netbeans.
The Glassfish plugin has forms for editing configuration for things as nuanced as WSIT WS-Security and WS-AtomicTransaction. This speeds configuration. However, I've found that deploying a JAX-WS app performs ws-import more times than necessary, which doubles deployment time.