Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Now I am Using Netbeans IDE 7.2 to develop Industrial Applications.
But my friends told me that the applications developing using Netbeans are not standard.
They suggest me eclipse. But I hear that developing applications in eclipse is not easy as in Netbeans.
I want to know which are the industry standard tools for developing java applications.
How could i easily develop standard java industrial applications.
Please help me.
There is no exact industry standard. Netbeans as fine an IDE as any and it is up to personal taste or goals what you exactly need.
Eclipse a very commonly used IDE, so also a good choice. It's free and has loads of plugins available.
Another option is IntellijIDEA. Downside here is that if you want to use the extra features they build, you will have to buy a license. But there is also a community edition which gets most of the work done, but you will have no Java EE server integration for example.
Als for your question about develop standard java industrial application, any of the above IDE's will do, you just need to try them out which one fits you best. Having specific needs (for example, mobile development, using a specific Java EE server), might narrow the choices, or give you other alternatives (jdeveloper, ibm rational application developer to name a few).
If you are good with one, you will not have any problems with another. Both Netbeans and eclipse are feature rich and freely available.
Eclipse is the standard IDE for the industry, may be because it was made by IBM.
Why I use netbeans
Netbeans comes pre-installed with many plugins
Netbeans has a better looking UI than eclipse.
You hardly need any configuration with netbeans.
But it is on the heavier side as compared to eclipse. You will find most examples on the web using eclipse, expects demos on oracle's site.
It depends on what you are developing.
For example, if you developing a desktop applications. Netbeans comes pre-installed with GUI builder and supports development of java rich internet applcations (javafx, webstart, applet), as it is
developed by Oracle.
On the other hand, for android development, eclipse is the industrial standard. Since google wants you to use eclipse.
You can try using STS as well, as it is the tool with inbuilt spring perspective
Eclipse or Netbeans, both are "standard" (if that word fits at all in the definition of what is standard). You could even skip them both an use just a plain old text editor. Is just a matter of personal preferences.
There is not standard IDE for developing in Java.
Eclipse is one of most used, but there are other IDEs (Netbeans, STS, and so on).
Is a developer choice.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm learning Java and I've been reading these books:
Head First Java, Head First Servlets and JSP to get started.
Up until now, I've been doing most of the learning on HF Java on Eclipse IDE for Java developers(not the EE one). I also installed Java SE 7.
But now I want to move on to HF Servlets and JSP. The book says I need only Tomcat.
I also wanted to familiarize myself with NetBeans, so I downloaded Netbeans IDE for Java EE from this page https://netbeans.org/downloads/index.html.
My questions are : 1. Should I download Java EE before installing this version of Netbeans? Does this version include the Java EE or should I download it from Sun page?
2. Is it overkill to install Netbeans for EE when all I need is Tomcat?
I will eventually learn EE I think... After these two books, I may read HF Design Patterns or HF OOAnalysis & Design Not sure if they're really necessary.
3. What would be the appropriate learning order do you think is ?
Your answers will be appreciated.
1.
Java EE is basically just Java SE with a few additional JARs for EE APIs like Servlets, JAX-WS etc. Installing multiple JREs on a computer will most likely lead to runtime issues because of the question which JRE is the default one, especially on Windows, since JAVA_HOME environment variable is not consulted in Windows Explorer, and tools like Ant and Maven depend on it.
For example, I keep several JREs/JDKs in one folder (unpacked, not installed) and list them in Eclipse to run applications I am developing on a particular JRE.
2.
When you, in Eclipse, do the following:
Window > Preferences > Server > Runtime Environments > Add...
and select Apache Tomcat 7, in the next step you can click on Download and Install... for Eclipse to download the latest Tomcat and set it up in selected folder as a target runtime that will run in the selected JRE.
You can also manually do the same and just point Eclipse to the folder where you installed / unpacked Tomcat.
When you then create the new Server for that Tomcat runtime you can assign a Dynamic Web Application project to it and it will be deployed on every change to the project. You can run it or debug it from inside Eclipse.
3.
Once you are on good terms with servlets and JSPs you should probably continue with the OO Analysis and Design, and then learn the Design Patterns. After those I recommend books on OSGi and Java Application Architecture.
Good luck.
If you install Netbeans EE, it will also install other goodies such as Tomcat or Glassfish. This will allow you to debug your EE application directly from the IDE, as opposed to having everything dumped into Tomcat logs.
I think that since you are just beginning, doing everything from your IDE will allow you to better focus on what you need to learn.
If you learn the usual coding standards and recommended ways in Java SE, you shouldn't have any trouble in moving on to EE. If you read more about OOP and other design patterns, you will be better equipped to build decent applications and also better understand frameworks which are already available.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I need a way to:
Create a GUI based front end to a database (MS SQL Server or MySQL).
I want it to be capable of running on Windows,Mac & Linux.
I want to be able to run the GUI as a desktop application or through a web browser.
(some people aren't allowed to install applications on their desktops and some people don't have access to web browsers.)
I need support for rich dynamic content, graphs, tables, possibly videos.
A nice IDE to generate the GUI where I can visually create and then code.
I don't want to deal with different web browsers interpreting the layout differently.
I have programming experience but plan on hiring a professional to get this project started. It is currently for a small business but has the potential to reach enterprise level with hundreds of users. This is a long term project. Some people say Java is a slow horrible language. Some people say it is great and many enterprises and financial institutions run java.
I have done quite a bit of research on oracle's website but am still lost.
Java? Java FX? Swing? JavaEE? Tomcat? Java webstart?
Where do I even begin. I don't even know what book to buy. If anyone can point me in the right direction I would greatly appreciate it. Maybe Java isn't even right for this?
Java is great for just about every project. But lets address your points.
1: Java can build a GUI and it can connect to Databases there are many APIs to make this easier, like JDBC.
2: Java is build for just that. Due to Java Runtime Environment which virtualises the execution it is easy to build Java based Applications for multiple Operating Systems.
3: This one could be a bit tricky since you would build an Applet for the browser and not an Application. But hey Java is just about the only Language that allows you to build an Application and an Applet for browsers in one step. Which is also the reason for it's big success. But beware companies may block Java in browsers for security reasons.
4: Java is capable of producing every graphic you can image a great example is Processing.
5: Well NetBeans and Eclipse both have great plugins for that. I personally love the Window Builder for Eclipse.
6: An Applet will give you that because it defines it's layout. Browsers are just running the Applet and are not doing any interpretations.
As for Java being slow: Naturally since Java Applications are run in a virtual environment they are slower then Applications developed in say C++. But this allows for Java Applications to be easily released for Windows, MacOS and Linux at the same time. Also Java uses some great technics like "Adaptive optimization" to increase it's speed and today Java isn't really all that much slower than other Languages (but still slower).
You can refer to the Java-Article on Wikipedia for some more info on Java.Link
I want to be able to run the GUI as a desktop application or through a
web browser. (some people aren't allowed to install applications on
their desktops and some people don't have access to web browsers.)
In this case Swing might not be the best solution since running a moderately Swing app in a browser as an Applet is a pain.
Java WebStart is a nice solution, but the application doesn't really runs in the browser: it just starts from the browser. If this is OK, than JFormDesigner http://www.jformdesigner.com/ is the best tool you can get.
If the application must run in the browser and without Java than you can achieve something similar with a RIA web application and package it in a similar way PhoneGap does mobile devices, e.g. with http://qt-project.org/doc/qt-4.8/examples-webkit.html and bundle the server together in background.
For the UI with this RIA framework http://www.sencha.com/products/extjs/ there's also a very advanced GUI designer: http://www.sencha.com/products/architect/ if that's an important part, but of course in this space there are many alternatives.
I've been assigned to develop a software on Linux, opensuse 11.4. Now the issue is that I'm a Java developer and I want to make that software on Java. Can I use Eclipse IDE for this software? It will be a desktop application on Linux. If Eclipse supports this type of development, what plug-ins do I need to get it started?
Plus I need to use some library routines as well. Can I do all this using Java and Eclipse IDE and some additional plug-ins?
Any help would be highly appreciated.
You may not realize it, but there are two distinct parts to this question. The response depends somewhat on whether you've already decided what GUI toolkit to use. The two obvious choices for a Java app are AWT/Swing (Java's "standard" GUI frameworks) or Eclipse's SWT/RCP. You see, Eclipse is more than just an IDE, it's a platform on which you can build applications. Here is the official description, and here is a very good intro and tutorial. Of course has plenty of tooling built-in to help you develop an RCP app.
If you're looking to stick with AWT/Swing, then Eclipse also has tooling to help with that. Specifically, WindowBuilder (WB) is included in the Eclipse IDE for Java Developers package that you can download. WB helps a lot in designing and implementing your GUI.
Java is (almost) write once, run anywhere (WORA). Thus any Java program you write should be able to run on any architecture and operating system that supports Java. In other words, you don't need to do anything extra to make your program run properly on Linux.
Eclipse can package your application in nice JAR files and the like which can be distributed to any OS.
Just download Eclipse IDE for Java Developers. You won't need any plug-ins.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have been a project manager so far in a small company that focuses on PHP and .NET Development. No Java Development.
I learnt Java and J2EE 4 years back. I know things changed radically now. I would like to dive back to Java Enterprise Development. Can you guys tell me what the typical Development Environment is like in the big / small companies for Java / Java EE? Lot of friends who are in Java Development says, they use Spring and Hibernate.
What I would like to know is things like this...
Eclipse or NetBeans IDE or some proprietary IDE? Do we get to choose the one we are comfortable with?
Local or Remote Web and App Servers?
I see that when I create a simple Java Project using eclipse, it adds some eclipse related tags / classes in the config files. Is this acceptable?
And so on...
Hope my question makes sense...
Please shed some light. Thanks in advance!
Eclipse or NetBeans IDE or some proprietary IDE?
IntelliJ from JetBrains is the best Java IDE out there. That's what my team uses.
Do we get to choose the one we are comfortable with?
Depends on where you work. I think it makes sense to allow the workman to choose his/her tools.
Local or Remote Web and App Servers?
We use Spring, so developers use Tomcat to deploy locally. The web servers exposed to the outside world are maintained by others; usually IIS or Apache. The app servers are JBOSS 5.
I see that when I create a simple Java Project using eclipse, it adds some eclipse related tags / classes in the config files. Is this acceptable? And so on...
Your IDE should not add anything that you don't want. I personally don't care for Eclipse.
Eclipse or NetBeans IDE or some proprietary IDE? Do we get to choose
the one we are comfortable with?
It depends. In a company I last worked for, they loved NetBeans while I preferred Eclipse (more configurable than NetBeans IMHO). NetBeans, however, is now owned by Oracle (formerly Sun) and thus comes with integrated Java EE packages to start with Development right away (includes GlassFish and Tomcat bundled). Eclipse Java EE doesn't include a webapp server.
Local or Remote Web and App Servers?
That totally depends on the company.
I see that when I create a simple Java
Project using eclipse, it adds some
eclipse related tags / classes in the
config files. Is this acceptable? And
so on...
These config files doesn't affect your project when exporting it to JARS/WAR/EAR, etc. Those config (.project, .classpath) are basically your project information Eclipse uses. NetBeans does the same. If these do affect your project when exporting, rather use Ant/Maven to build your project.
You'll get as many answers as there are software companies.
I'll speak for mine:
Eclipse
Tomcat for local and remote
I'm not sure what you mean here. Eclipse will definitely need .project and .classpath files if you want to share project, but I am not sure that it adds tags to config files.
Definitely look into maven for builds, using it makes your projects ide-agnostic, and you can have people using eclipse or netbeans or whatever is their favorite and still be able to contribute.
The ones that are used in the Java shops around here are mostly Eclipse, with the latest version of Netbeans gaining popularity. Personally I find Eclipse to be decent and meets my needs, but YMMV
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Can we run or develop apps for iPhone in Java?
Have a look to these links and answer:
http://www.iphonefaq.org/archives/9731
http://www.j2mepolish.org/cms/leftsection/documentation/platforms/iphone.html
http://www.ibm.com/developerworks/opensource/library/os-eclipse-iphone/
Currently, there is no JVM running on the iPhone. This means that the only way you have to develop apps for iPhone in Java is to have a compiler that will compile your java code down to Objective-C code.
There are several solutions that do exactly that:
Codename One - focuses on building applications using Java with visual tools and simulators. Open source with a SaaS backend that removes the need for a Mac.
XMLVM - a translator to convert Java bytecode to C/Objective-C. Open source, but requires writing iOS specific code at the moment.
There are also several proprietary solutions but I have no experience with them. E.g. Software AG has a tool called web objects.
Sun found they could port Java to the iPhone, but the SDK license prohibits it. So this is not a technical but a political issue.
I would say: No
If you want to create "real" native iPhone applications you will have to go with Objective C and the iPhone SDK
There are other ways like http://phonegap.com/ but I personally have no experience with this project.
Webapp can be developed in Java of course, but you're not allowed to run Java applications ON the Iphone (VMs are not authorized on the device).
There is some effort in Java to objective-c conversion, as with XMLVM (check the Google TechTalk video).
At the end what I can conclude is that one can develop iPhone web apps easily with Java.
For developing native apps for iPhone in Java one may use alcheMo or XMLVM with a little working.I have no experience in alcheMo or XMLVM but surely looking forward to it.
Thank You All.
there is an implementation of a java virtual machine called "Classpath", but the drawback is that you may only get it using Cydia/Installer.
Means, you need to jailbreak your iphone in order to be able to install the JVM.
the gui can be designed like an AWT-Gui.
in general: no solution (apple does not allow applications that run other applications on their devices)
if you don't mind hacking the devices your application is deployed to: yes, there shouldn't be a big problem. there is a large amount of tutorials how to hack your iphone, if you're interested...
EDIT: there is a problem! If you don't have the file libuicaboodle every Java-GUI-App for iPhone is looking for, you won't be able to run the app. Is there anybode who still has this file? Can't find it anywhere anymore :o(
regards
there is several ways to write an iphone application on java
by using xmlvm converter to objective c but is hard but it is the suitable and the compatible way to do ur application u need to learn xml language
An interesting approach is combining the Google Web Toolkit with Appcelerator Titanium for developing iPhone applications using Java.
Google Web Toolkit (GWT) allows compilation of Java code into Javascript, while Titanium allows creation of native-looking iPhone applications in Javascript. I have started a project called "gwt-titanium" to combine the two, you can find an explanation about the project and building instructions on the blog at iPhoneJava.org.
Good luck!
What about other Java to native compilers I though there was one calledJet?
This compiles java to native.