which is better install4j or inno setup for netbeans application - netbeans

I am new in java and i have developed one simple application using netbeans7.2 and i am confused for how to create installer for my application to install it on users pc. I am listen about install4j and inno setup so please tell me which is better from both of these or any other way to create installer without using any setup creation software.

If you are talking about NetBeans Platform applications then NetBeans comes with its own installer, called NBI. You can have the IDE build installers for you. All in all: no need to use install4j or inno.

Related

How do I use SASS in IBM MobileFirst project?

I have been engaged in developing IBM MobileFirst + Ionic applications for the last few months, but I still couldn't figure out a way to use SASS. How I managed till date is, I will have a static Ionic project with SASS setup and I re-use/copy-paste the HTML and CSS from this static www folder to actual MobileFirst project common folder.
Is there a better way around, like to have a node + gulp setup on the MobileFirst project?
NB: I'm using IBM MobileFirst 7.0.0
Cheers!
In Hybrid apps in v7.0, you use Eclipse. This makes things more complicated. In Eclipse you can use Ant scripts to alter the generated folder with anything you may need. Perhaps the Ant script could execute whatever it is that you need.
You can see an Ant script integration example in Studio, here: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/
This will be easier for you in v7.1, where you can create "pure Cordova" apps using the command line, thus your integration points with other tools such as Node.js and gulp is much more natural, and more feasible.

How to run/debug java web service project in eclipse

I have a Java Web Service project which was just handed over to me by a colleague who just resigned (no one is assisting me in my new company). Im new to Java (J2EE) and my background is .Net + frontend + azure so I am pretty much very confused with setting up and running the java project. Also, Since my background is .Net Im referencing everything with how things work in Visual Studio from running a project, setting up a project to setting up and debugging a WCF project which I realized now is very different from eclipse + java.
I would really appreciate if someone could explain to me how I can run this project which is supposedly a java web service (as I was told)?
First I have a project that is like this:
Im assuming that the project boxed as blue is the webservice (and the rest are just libraries)? Is this correct? if so how do I run and debug the project using eclipse
Second when I click on debug as -> debug on server this is all I see:
Another colleague told me to install JBOSS (I haven't installed a server in eclipse) because that is what they used. Is there good documentation (step-by-step guide) on how to install JBOSS to run in eclipse. Im assuming that JBOSS + eclipse is like IIS express + Visual studio. Are there also other alternatives to JBOSS + eclipse like perhaps tomcat + ecplise that I can configure.
I really really find it hard to setup the java web service project in eclipse I have little to no prior experience with java j2ee programming especially with web services so any clarifications with my questions would be much appreciated. To sum up:
How would I really know that the project is a java webservice?
If so, how do I run the project and host the project using debugging in eclipse with tomcat or jboss?
I would appreciate if anyone can point me to the right direction of figuring out the source code
From here we can only guide you, you will have to go through some tutorials to understand how java projects work.
Your project is a webservice project according to your web.xml file because its having context params for rest.
the context param sets a front url to your webservice which in this case is gametime.
Check these tutorials and you will understand how it works
http://www.mkyong.com/tutorials/jax-rs-tutorials/
Create simple examples given in the above tutorial and then you can execute your's program
Jboss is a application server which we use to run our app.
You can install jboss in eclipse or you can use it externally also.
To install eclipse and jboss you can follow the link
http://theopentutorials.com/tutorials/java-ee/installing-jboss-tools-in-eclipse/
The other option is to download eclipse and jboss seperately
and use them.
Go to jbosshome/bin
If you download both of them seperately
then in that case for jboss
Invoke the add-user.sh or add-user.bat script. ...
Choose to add a Management user. ...
Choose the realm for the user. ...
Enter the desired username and password. ...
Choose whether the user represents a remote JBoss Enterprise Application Platform 6 server instance. ...
Enter additional users. ...
Create users non-interactively.
After this go to eclipse and follow steps of below link to add jboss to eclipse
http://www.mastertheboss.com/eclipse/jboss-eclipse/jboss-and-eclipse
A Java web application among other things has a predefined directory structure including folders named WEB-INF, WEB-CONTENT etc.
On how to deploy a web application to Tomcat via Eclipse you can follow the steps in this tutorial.

how can i install jbpm 6 without using build.xml

Can anyone help me to install and configure JBPM by hand without using the script build.XML of the installer actually i have already jboss AS 7.1 server and i've installed jbpm plugin for eclipse Kepler. And when I run the hello world project I got an error " runtimeManagerFactory was not initialized " even when I add the persistence .XML under the META-INF
If you want to manually install jBPM on as7, you'll need to download the kie-wb distribution for as7 and install that into as7. You might want to make sure to configure the datasource and security domain correctly.
For eclipse, you can just install the plugins from the update site directly, and then configure a jBPM runtime. I'm not sure which "Hello world" project you're referring to? I'd recommend creating a new jBPM project, that contains a (simple or advanced) example out of the box.
JBPM6 is an open source document track system,which is used to track the documents. We can also install jbpm & jboss.
Use this link below, it would be helpful for you to install jboss and jbpm.
http://docs.jboss.org/jbpm/v6.0/userguide/jBPMInstaller.html#d0e780

Can install4j be used to build installer for non java application?

I would like to know whether anyone has used install4j to build an installer for a non java-based application? I'm looking to select a cross platform installer which has support to build java-based as well as non java-based applications. In the install4j official web site, it's introduced as cross platform installer for java-based applications. But I would like to know whether anyone has tried to build an installer using install4j for a non java-based application?
It's certainly possible, but keep in mind that the installer needs a JRE to run. You can bundle a JRE with the installer.
The Java-functionality around generating launchers will not be useful to you if you're not distributing a Java application, but most of the installer actions are not tied to Java launchers.

Standalone linux version of: FeaturesAndBundlesPublisher application?

I need to run the eclipse FeaturesAndBundlesPublisher application on a linux server. The clumsy way is to download eclipse and put it on the server but since I only need the FeaturesAndBundlesPublisher is there someway of getting that application as a standalone application?
Eclipse itself is a standalone application, though it contains many applications based on different arguments.
If you're unhappy with the big size or base, you can create a .product definition, then export the p2.publisher and its dependencies as a standalone application.