A few stupid questions about Eclipse [closed] - java

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 5 years ago.
Improve this question
Is anybody use Eclipse IDE for Java EE Development? If somebody does, can you answer me for this questions?
How to create files like "beans.xml", "sun-web.xml" and so on. Some XML's is created during the project creation process, but there is no special templates for creating others. I think, I should create "XML file" and write apropriate name and contents by hand. Am I right? NetBeans has much more templates, I think.
After using of NetBeans, It's hard for me to understand the principes of libraries configuration in the "Java Build Path" properties. If I use GlassFish or JBoss - should I use "Mojarra" or "MyFaces" JSF implementation as User libraries? I think, in the case of GlassFish - I am not, cos the Application server already have this libraries.
What book(s) you recomend me to read for finding answers for my stupid questions? I try to read help center in the eclipse.org, but there are mostly ready to use examples with no answers.
P.S. I use Juno release of Eclipse and seems like it's better works with GF 3.1.2 and JBoss AS 7.1 than NetBeans 7.2. That's why I am interesting Eclipse IDE for EE development.
Thank you for helping me and wasting your time.

This is specific from glassfish, so eclipse won't generate them by default. These will be probably generated if you install Eclipse Glassfish plugin
Even if the application server has these libraries, you should add them to the build path so eclipse knows what to use when compiling it. If you are working with glassfish, in the libraries tab on the build path options, click add library -> Server runtime -> Glassfish (You will have to install glassfish plugin before)
I believe you can find most of these answers on internet, I've been developing with eclipse for +5 years, and never checked a book.

Related

Gradle projects vs. Eclipse projects? [closed]

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 8 years ago.
Improve this question
I found an interesting open-source layout library on Github which I'd like to incorporate into an Android project I'm working on in Eclipse. However, I noticed that the library in question seems to have been developed using Gradle, which I don't have. I'm not sure what IDE was used to develop the library, but in any case, I'm not familiar with Gradle at all... Are Gradle-d projects fully compatible with non-Gradle-d Eclipse? Would it depend on the IDE used? (In which case, how can one tell what was used to develop it?)
What are the steps (if any) I would need to take to properly incorporate this library? Would I need to install & run certain plugins, for example?
Thank you very much for your help.
Gradle is the build system that Android Studio uses (the new IDE that is being developed by Google for Android development). You can use the Gradle Eclipse plugin to load Gradle projects into Eclipse.

A better IDE for java EE development with Tomcat than Netbeans [closed]

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 8 years ago.
Improve this question
At this point, I've pretty much had it with Netbeans. I can't seem to get it to work with Tomcat out of the box. Even downloading Tomcat and adding it to Netbeans doesn't work - I keep getting a pop-up asking for authentication, which I enter but yet it comes back again and again and again. Looked all over the internet for an answer, but everything just leads to nowhere.
Can anyone recommend a better IDE? I know of Eclipse, but I've never used it before. Is that any better than Netbeans?
Thanks.
I also suggest Eclipse, I've used it a for long time and never had issues with it.
Currently on my current job, we are using IBM's Rational Software Architect for WebSphere, which is basically Eclipse under an IBM name with some customizations for WebSphere (and a huge price tag).
You can Try Eclipse(https://www.eclipse.org/) or IntelliJ IDEA comminity Edition (http://www.jetbrains.com/idea/)
Can anyone recommend a better IDE?
There is no such thing as a better IDE, the answer to that is opinion based.All IDEs have their pros and cons.
That said, there is a special Eclipse IDE for Java EE Developers You can download it at the official eclipse website

Why Eclimd over Eclipse? [closed]

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 was looking for java plugin in Vim. Yesterday I came across Eclimd. After going through the guide to install Eclimd from http://eclim.org/ I am able to run eclimd.
For running eclimd, eclipse is required and has to run as server.
My question is, why to run eclimd over eclipse? What gains do eclimd over eclipse give?
Also, (it's been only few hours that I have used eclimd) it seems Eclipse is more friendly.
Could anyone suggest reasons for the preference of eclimd over eclipse.
Vim is much better at text editing than Eclipse, even with a Vi-emulation plugin.
Eclipse is much better at understanding your code and interacting with the Java toolchain than Vim, even with all the Java plugins you can find on vim.org.
Eclim is a way to combine the distinctive powers of Vim and Eclipse. If you don't care, by all means don't use it and keep doing what you did before.
Vi doesn't have features for auto complition or code validation afaik for any programming language. It does provide syntax highlighting capabilities , but that's all.
Eclipse provides these features to Eclimd.
Eclimd is a client to Eclipse, that's why you can't run it without eclipse.
I hope that clarified it.
BTW: Eclipse does its syntax checking by running the javac (when used for Java programming),
while vi(m) usually doesn't support direct calls to other tools in its extensions.
But if you are focused on Java Development, you should, imho, use an ide. Eclipse is a good one, there are others such as JDeveloper oder Netbeans.
That's not only because the clear structure of projects, the integration into the build process but also because due to the different stages a Java - Project usually has.
It often starts with a desigining period, where you model your application in UML.
While developing, automated functional test will usually be developed, too, they should be designed also. After that there come the integration tests. Most ides suit much better for this when a vi - plugin could.

Why does the OSGi model based Eclipse need to restart after install a new plug-in? [closed]

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
Eclipse is designed base on OSGi model. And the OSGi model declaim it supports hot install and uninstall bundles. So I am confused why the Eclipse always need to restart to take a new install plug-in work. Is the OSGi model not that good or Eclipse not implemented the whole model?
The OSGi model works very well, but dynamics doesn't come for free. Bundle code needs to be written in such a way as to cope with services coming and going.
Eclipse has two problems. First there are an awful lot of legacy plugins that are not dynamic-aware and are written by frankly mediocre developers. Second, Eclipse has always shunned the services part of OSGi, instead favouring the "extension registry" with its a more static and clunky lifecycle (actually it's possible to handle dynamic updates with the extension registry, but much harder than when using OSGi services).
Actually in many cases Eclipse can dynamically cope with the addition of plugins, which is why the install dialog gives you the option to do this. But because of the variable quality of third party plugins, it plays safe and recommends a restart.

Using JavaFX for making a Eclipse Plugin? [closed]

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 am planning to develop a rich set of plugins for Eclipse which would involve 3D Graphics rendering inside Eclipse.
Is JavaFX a good technology choice for developing a Eclipse Plugin?
Is there some other rich client technology that I am missing out on and which can be used to develop Eclipse Plugins (other than SWT and JFace)?
Eclipse 4, the new major release of eclipse, (4.2 due this summer) is supposed to support non-swt frontends in RCP/Plugin development.
However I am not sure how far along is the work to support javafx rendering.
You can find some info on E4 + JavaFX on Tom Schindl's blog
http://tomsondev.bestsolution.at/2011/10/17/efxclipse-0-0-7-released/ and
http://efxclipse.org/
Maybe Lars Vogel has also written something about this, I am not sure. Anyways Lars is IMO the best source on the internet when it comes to E4
http://www.vogella.de and
http://www.vogella.de/articles/Eclipse4RCP/article.html
Anyways, Eclipse 4 is the way to go/research if you need RCP without SWT. I do not think this is doable in Eclipse 3.x at all.
http://wiki.eclipse.org/E4
I've just released a step by step tutorial how to use JavaFX inside an Eclipse View. See https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2

Categories

Resources