[JBoss Tools] - Server doing full publish after eclipse restart
by Greg Hance
Greg Hance [http://community.jboss.org/people/ghance] created the discussion
"Server doing full publish after eclipse restart"
To view the discussion, visit: http://community.jboss.org/message/533186#533186
--------------------------------------------------------------
Hello -
Not sure if this is a bug or a behavior change but I have noticed that after restarting eclipse, when I start the server for the first time Eclipse & JBoss AS Tools force a full publish for the server. I would expect that an incremental publish would happen instead and I'm sure that some earlier development versions of JBoss Tools 3.1 did this correctly.
I found a workaround (just as an FYI). If I click on the web module first and explicitly specify "Incremental publish" - and then start the server then I don't have to wait for the full publish. But once again shouldn't "incremental" be the default?
We have a +very+ large code base so a full publish doesn't go unnoticed (takes 10-15 minutes), so luckily I have found a workaround but would be very curious to know if this is expected behavior or a bug.
We use :
** Eclipse JEE 3.5.2
** JBoss Tools 3.1 (Only use JBoss AS Tools & Hibernate Tools)
** JBoss 4.2.3 GA
** Maven M2 Plugin - v. 0.10
Thanks in advance! -Greg
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533186#533186]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 3 months
[JBoss Web Services] New message: "EJB WS Annotation and WSDL generation"
by David CARRERAS
User development,
A new message was posted in the thread "EJB WS Annotation and WSDL generation":
http://community.jboss.org/message/530306#530306
Author : David CARRERAS
Profile : http://community.jboss.org/people/Jojopotatoe
Message:
--------------------------------------------------------------
I have noticed some differences in wsdl generation when you change the place of annotation.
I am using Jboss 5.1 (jdk6) with a deployment of ws 3.2.2.
Here the test class :
@WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld", serviceName = "HelloWorldService")
@SOAPBinding(style = SOAPBinding.Style.RPC)
@Remote(HelloRemote.class)
@Stateless
public class HelloWorld implements HelloRemote
{
@WebMethod
public String echo(String input)
{
return input;
}
}
Here the interface :
@WebService
public interface HelloRemote
{
public String echo(String input);
}
If you change code to :
@WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld", serviceName = "HelloWorldService")
@Stateless
public class HelloWorld implements HelloRemote
{
public String echo(String input)
{
return input;
}
}
and interface :
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface HelloRemote
{
@WebMethod
public String echo(String input);
}
The two wsdl are quite differents and the second is way seems to be better. For example if you use apache axis to generate data from wsdl only the second one give us a working implementation.
Is it something known ? Maybe it is my bad use of the framework ?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530306#530306
16 years, 3 months