eclipse « eclipse « Java Enterprise Q&A





1. Avoid RePublishing the web application after Eclipse Shutdown    stackoverflow.com

I am having my web application deployed on Tomcat5.5 and I use it in integration with eclipse 3.2.Each time I close the eclipse and restart it, I need to republish the ...

2. How to set up Eclipse TPTP    stackoverflow.com

I need to profile a java application for a customer. It's an eclipse/maven project, so I decided on using eclipse TPTP ( http://www.eclipse.org/tptp ). I tried to install eclipse TPTP ...

3. Helping a beginner for java web application    stackoverflow.com

I have pretty big background of .net, and I've decided that i want to port one of my websites to Java. (now with the asp.net MVC craze, I've figured I'd better ...

4. Eclipse configuration docs to link and edit an existing web app    stackoverflow.com

I have been trying to learn how to use eclipse for J2ee web development and have heard alot of great things about it. I have had a lot of success my ...

5. Eclipse keeps running my old web application    stackoverflow.com

OMG - what is going on with Eclipse (3.3 Europa) - has anyone come accross this problem (bearing in mind I have been messing about with uninstalling different Tomat containers and ...

6. Preferred way of developing web applications with m2eclipse    stackoverflow.com

When developing Maven web applications I usually resort the the jetty-maven-plugin to quickly launch my application for local testing and debugging. Using the launch with m2eclipse has the drawback of not ...

7. JUnit View in Eclipse on OSX Snow Leopard    stackoverflow.com

I recently purchased a mac and am trying to get junit tests working on Eclipse. I am using the latest Galileo, but for some reason there is no option to "run ...

8. Functional depedency analysis    stackoverflow.com

Developers who have used eclipse cannot miss out the Cntrl+Shift+G combo - the easiest way to find all references to a particular member/method/class in your workspace. Consider a scenario where you ...

9. Eclipse as an IDE - What do you find missing as a beginner in Java?    stackoverflow.com

I am working on a solution that aims at solving problems that newbie programmers experience when they are "modifying code" while bug fixing / doing change requests, on code in production. ...





10. Java Ajax WebApp - Tips and Pitfalls?    stackoverflow.com

A coworker and I have started tech spec'ing a webapp project we're going to be working on together in our spare time. We've (mostly) settled on using: Eclipse for ...

11. Howto access properties file from jee web application?    stackoverflow.com

I have created a dynamic web project within Eclipse. I created a properties file inside the src directory:

<project-root>/src/props.properties
I'm starting Tomcat via Eclipse in debug mode. Now I want to read the ...

12. Structure of a Java Web Application in Eclipse    stackoverflow.com

I have developed various Java EE web-applications in Netbeans by selecting webapplication as the project type. Now, I want to start coding a web-application in Eclipse. The application will be based on ...

13. Eclipse, how to combine 2 editions    stackoverflow.com

I'm using the PHP edition of Eclipse, but was told that I also need the JEE edition. I'd like to install them both in the same install (single launch) and not ...

14. Java IDE - find all INDIRECT usages/references of a function or class?    stackoverflow.com

In Netbeans or in Eclipse, you can use "Find Usages" or "References" from the right click context menu. If a() calls b(), using the functionality from b() will show you a(). ...

15. Building a J2EE dev/test setup on a single PC    stackoverflow.com

It's been a while since I did Java work, and even then I was never responsible for starting a large project from the very start... there were test/staging/production systems already running, ...

16. Word documents generation in web app using Eclipse BIRT Report Engine    stackoverflow.com

Is it possible to generate word documents (*.doc) in java web application using Eclipse BIRT (Report Engine)? I want .rptdesign to be an input file in generating process. I could not ...





17. How to get Full Call graph for Documentation Purposes?    stackoverflow.com

Our team is being required to document every method in our code, and describe what's getting passed in and out and such. Is it possible to auto-generate a document containing ...

18. When moving to Eclipse J2ee from regular, do I need to uninstall?    stackoverflow.com

I currently have the standard dev eclipse 3.5.2, but now need to do some jsps etc, so want to move to the j2ee version. Can I install the j2ee version right over ...

19. Where to put ServiceLoader config file in a web app    stackoverflow.com

I am writing a web app in Eclipse. I am trying to use the ServiceLoader class to load some plugins. The docs for ServiceLoader say I need to place a file in META-INF/services. I ...

20. BIRT - Where should I put images so that it is available on preview and delpoyed into webapplication    stackoverflow.com

I have BIRT integrated into web application. I can't seem to find a way to get images to show up during development/preview within Eclipse and deployment. I have tried different setting. ...

21. Close connections in pool/cache (cache created with singleton) when Eclipse reloads context    stackoverflow.com

I'm using Eclipse to develop a java web app and My IT department called and said I had over 75 open oracle connections to the development Oracle Server originating from my ...

22. Stripes Framework    stackoverflow.com

I am using Eclipse with Java 1.6. I was wondering what the preliminary steps were to set up the Stripes framework. (What do we do with the .jar file?) ...

23. WCF Service and Java Client    stackoverflow.com

I have developed a WCF Service hosted on IIS. We have a core Java application that needs to communicate with this service. So far I have been able to use Net ...

24. Is there a reason to have both Eclipse IDE for Java and also Eclipse IDE for Java EE?    stackoverflow.com

I've recently downloaded the Eclipse IDE for Java EE developers (for web apps development). Does it make sense to delete my "regular" Eclipse IDE for Java developers? I mean, is there ...

25. Is Eclipse more robust than Netbeans for Java web programming?    stackoverflow.com

I am looking at learning to program a Java EE/SE web application with the following components:

  • JBoss
  • nHibernate
  • JSTL
I'm sure there are other pieces. That's all I know at the moment. Would ...

26. How to use the webservice-client classes generated with Eclipse?    stackoverflow.com

I used eclipse Helios to create a Web Service Client for consuming an axis 1.4 web service.
It generated 2 packages:
1 - datamodel.
2 - client. Inside client package there are 5 classes:
1- ServiceName
2- ...

27. Complex(?) Eclipse Launch Configuration    stackoverflow.com

I have two Eclipse Projects where one is a Spring Project that is deployed on a server and the second is a normal Java Application. If I change something on my server ...

28. Show generated SQL in toplink in eclipse    stackoverflow.com

I am using EclipseLink libraries in eclipse (at dev time) and deploy on TopLink, I need to show the generated sql statement. I am using the following persistence.xml:

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
  ...

29. wsdl2 java :Java heap space    stackoverflow.com

I'm working with web services. I have a file wdsl and I trasnformed it in two java files:

wsdl2java -uri nameFile.wsdl
One of the java file created has 87kb. When I ...

30. Eclipse JEE: When starting Application, stop old running instance    stackoverflow.com

I am searching for a way in Eclipse to stop all running instances of a Java Application when clicking run, to assure only one instance of the program is running at ...

31. Set up Eclipse to work with Java EE    stackoverflow.com

First note that I'm new to EE and particulary to Eclipse (I'm seriosly working with Eclipse for the second time in my life :) ). Then I have opened Eclipse project that ...

32. Is there a way to prevent Eclipse from opening the browser when starting a Web application?    stackoverflow.com

Ahoy! I was wondering if there's a way to configure eclipse not to open the browser (internal or external, doesn't matter) when the user selects Run As > Run or server in ...

33. Common practice deploying/publish/debuggin a java webapp    stackoverflow.com

I have always programmed my applications in php. But recenlty I discovered that best combination of language and server to achieve scalable comet functionality is Java + Jetty, because jetty support ...

34. I am downloading Eclipse. But what else do I need to develop Java EE applications?    stackoverflow.com

I am downloading this version of Eclipse. I want to know what else I should download and install before I can start working on Java EE applications. Previously I used ...

35. Generate Webserice client code with secured endpoint address    stackoverflow.com

I have an error message " The service definition selected is invalid." when generate web service client code with secured endpoint address: https://localhost:8443/webservicedemo/services/Calculator?wsdl. I have used self-signed certificate and here ...

36. How to use wkhtmltopdf in Java web application?    stackoverflow.com

I am newbie in wkhtmltopdf. I am wondering how to use wkhtmltopdf with my Dynamic Web Project in Eclipse? How to integrate wkhtmltopdf with my Java dynamic web application? Is ...

37. How do I upgrade Eclipse Classic to J2EE?    stackoverflow.com

I want to develop HTML5 websites. I have already installed Java for Android development. I have Eclipse Classic 3.6 installed on my machine. Now I wish to have J2EE on the ...

38. ClassCastException with webapp between machines    stackoverflow.com

I currently have a maven webapp running on my laptop using Eclipse Galileo & m2Eclipse, the application starts and runs fine. I have just checked out the code from svn on to ...

39. j2me web-services in eclipse    stackoverflow.com

I want to create a webservices in j2me and i able to do Netbean 6.9.1 (righclick on project->New-> Java ME Web Service Client Information) and give wsdl url. I dont know ...

40. Setting up SOA for experimenting    stackoverflow.com

I want to set up a SOA platform to demonstrate the key ingredients of it. Not knowing much about this topic, this seems to be an difficult task. I hope someone ...

41. Count NLOC, TLOC, LOC per class on Eclipse    stackoverflow.com

I'm using Eclipse; Version: Helios Service Release 1 Build id: 20100917-0705 Do you have a good plugin suggestion for LOC counting which excludes auto-generated code? Thanks lot, Semanur

42. TO Use Cygwin within Eclipse 3.6    stackoverflow.com

I'm working in J2EE application. We are developing application in java/j2ee. In our project we use cygwin to simulate linux os, run shell script included in application and to deploy. How ...

43. Unique problem where Remote Developement in Eclipse might be a solution?    stackoverflow.com

I have a situation where I wrote a new component for a Java EE based ERP, I created a git repository on the clients server cloned that repository, copied the database ...

44. Eclipse complaining about web-app attributes    stackoverflow.com

My web-app declaration in my web.xml is:

<web-app version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     ...

45. Refused connection to a Swordfish Service Registry    stackoverflow.com

i try to set up a swordfish environment, but i'm failing with setting up the service registry. the first screenshot below shows the setting of the service registry in the sopera toolsuite. the ...

46. Web-service from a java Desktop-application    stackoverflow.com

I'am trying to use web-service from a desktop-application I used the Tutorials in here and made this code to connect to the web-service server project

public static void main(String[] args) ...

47. Shut down the JAX-WS when launched from the JDK    stackoverflow.com

I have a JAX-WS project in Eclipse that I launch by running the "Publisher" class:

public class WSPublisher {
public static void main(String[] args) {
    Endpoint.publish("http://localhost:8080/WS/Greeting",new GreetingImpl());
}
}
The JDK uses its ...

48. Installing J2EE into existing eclipse IDE    stackoverflow.com

I have Eclipse Galileo (Version: 3.5.2), which I use to develop JAVA SE applications. I want to learn J2EE. How do I incorporate J2EE? Or do I need to install a ...

49. What is the difference between Eclipse 3.7 and Eclipse 4.1?    stackoverflow.com

I see there are two main distributions of Eclipse going on - One is on 3.6, 3.7, 3.8 path and the other is 4.0, 4.1 path(http://www.eclipse.org/e4/). I don't have clarity on ...

50. how to create a subclass in eclipse JEE?    stackoverflow.com

During lecture, my professor very quickly created a subclass in eclipse. the result has the "extend" keyword added to the subclass. I didn't see what buttons he clicked. Does anyone know ...

51. How to develop an algorithm for computing the month-by-month balance in savings accounts    stackoverflow.com

well the problem say. Develop an algorithm for computing the month-by-month balance in your saving account. you can make on transaction a deposit or withdrawal each month. interest is added to ...

52. How to surpress warnings in JAX-WS RI?    stackoverflow.com

I'm using the JAX-WS RI to communicate with a WebService. During using my client (which works great btw.) I get those annoying messages:

09.10.2011 20:24:11 com.sun.xml.ws.model.JavaMethodImpl freeze
WARNUNG: Input Action on WSDL operation ...

53. Create log instance when creating a new class in eclipse    stackoverflow.com

i have two impl packages (contains implementation for service/dao methods) and i want when creating any new class in this package the following line gets added to class by default (log instantiation):

Log log ...

54. Eclipse plug in to edit web.xml in Java EE?    stackoverflow.com

I have a JEE web page and web.xml descriptor of the project has not a interactive way to add information like servlet-servlet mapping, etc. all it's only manual Any plugin of eclipse ...

55. For eclipse which -vm is preferable?    stackoverflow.com

I am using eclipse 3.6
while using Virtual Machine, which one is better option.
Option1:

   -vm
    C:/Program Files/Java/jdk1.6.0_22/bin/javaw.exe
Option2:
   -vm
    C:/Program Files/Java/jre6/bin/javaw.exe
it will ...

56. eclipse was closing when i try to open web.xml in web application what would be the reason?    stackoverflow.com

i am using Eclipse 3.6,
while opening web.xml file in my Web application.
it's crucial for me to open web.xml file multiple times while doing development.
eclipse.ini configuration was given below.

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
-launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vm
C:/Program Files/Java/jdk1.6.0_22/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m
-Xms512m
-Xmx1024m
How can we ...

57. How to connect JProfiler to an application running on localhost?    stackoverflow.com

I have an application running on my localhost and I want to profile the application to see how can I enhance the performance of the application. I am doing the setup ...

58. How to Speed Up IBM Rational Application Developer/Rational Software Architect    stackoverflow.com

I want to know how can i speed up RSA 7.5( which is an IDE by IBM having eclipse under the hood with websphere server runtimes) mainly server start. The first ...

59. lejos noclassdeffounderror lejos/pc/comm/NXTComm    stackoverflow.com

First I created a Java App to test my code to contact the NXT Brick using Bluetooth. Once this worked I created a Webservice instead which should connect to the NXT ...

60. Developing on Eclipse Galileo for OC4J 10.1.3.5    forums.netbeans.org

pepelara Joined: 29 Nov 2008 Posts: 115 Posted: Sat Feb 13, 2010 5:46 pm Post subject: Developing on Eclipse Galileo for OC4J 10.1.3.5 Hi, I know this is ...

62. View Design mode in NetBeans after using code in Eclipse    forums.netbeans.org

Hello everyone! I have a problem and really hope that there is a solution for it. I made a Desgin in Netbeans but then I implemented everything else in Eclipse. But now I have to retouch the design but if I open my file in netbeans I cannot see the design mode again. I tried also to import the entire project ...

63. Hi all! New Netbeans user, used to Eclipse    forums.netbeans.org

I've used Netbeans for only a few days now, and Eclipse for about a year, so bear with me A few newbie questions: 1) Is there a way to display a list of all compilation errors/warning in one neat window at the bottom of the screen, like the Problems window in Eclipse? 2) This code worked in Eclipse, but not in ...

64. Erroneous sym type in Netbeans but not in Eclipse    forums.netbeans.org

public class Start { /** * @param args the command line arguments */ public static void main(String[] args) { CalendarService calendarService = new CalendarService("calendar"); calendarService.setUserCredentials("jo@gmail.com", "mypassword"); ...

65. jboss-3.2.5 problem in Eclipse    java-forums.org

66. CRUD J2EE Application    java-forums.org

67. Hello World in AOP    java-forums.org

Hi, I am trying to create a hello world program using AOP, can anyone tell me how to make one easily? i have a HelloWorld class, MyAspect class. I dont mind if i use Aspectwerkz or AspectJ, i have created a .xml file to weave them together but nothing is working. Can someone explain to me how to do it or ...

68. Problem with running eclipse-jee-helios-win32-x86_64    java-forums.org

Hello Rohit, The eclipse you are trying to run is a 64 Bit eclipse. It will run fine if you have 64-Bit version of Windows 7 and 64-Bit version of JDK/JVM. If you are using 32 Bit Windows 7, download another eclipse. If you are using 64 Bit Windows 7, Download 64 Bit JDK. With 64 bit the "Program files(x86)" will ...

69. how to create exe file for web application    java-forums.org

hai i need a how to create exe file for web applications, now i has developed one web application by using jboss server.. i want generate exe file or wrraper file for deliver to client .. if any body have solution please share with me .. i know u all the java experts i hope u can do it please help ...

71. Eclipse EE intall issue    forums.oracle.com

72. Problem in configuring and running an existing web-application in eclipse    forums.oracle.com

hi all I hav made a simple website in servlets and jsp I did it through edit plus and followed the required directory structure to deploy my website under tomcat... Now I am trying to open and run same application in eclipse.... I am not able to open an existing web-application..... when i am trying to deploy a fresh application it ...

73. Cannot work on j2ee program using eclipse 3.2 platform    forums.oracle.com

Dear all, Im using eclipse 3.2 for writting all my program for my UG project. so far i was developing program in java. when i try to write program on j2ee its not compiling or running... i think i have to configure the eclipse software for j2ee, but i dont know how to do it... i need ur help for configuring ...

74. create web application using eclipse    forums.oracle.com