Skip to main content

CK Lee's Library tagged java   View Popular

14 Sep 09

wsgen NullPointerException at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType

wsgen:
[echo] Generating JAX-WS Artifacts.
[wsgen] Problem encountered during annotation processing;
[wsgen] see stacktrace below for more information.
[wsgen] java.lang.NullPointerException
[wsgen] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType(WebServiceVisitor.java:781)
[wsgen] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalMethod(WebServiceVisitor.java:629)
[wsgen] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.methodsAreLegal(WebServiceVisitor.java:599)

forums.java.net/...thread.jspa - Preview

forum tip exception ws java

  • class missing in my classpath property of wsgen task
11 Sep 09

C# From a Java Developer's Perspective

  • C# has a ParameterInfo class which contains metadata
    about the parameters of a Method while Java uses Class objects for that which
    lose some information such as the name of the parameter
  • in C# the const keyword is used for
    compile time constants while the readonly keyword is used for
    runtime constants

Java Tips - Dialog Modality

  • When a dialog box is modal, other windows in the application are blocked from accepting input, unless they have the dialog box as their owner.
  • Another modal dialog box could block input to it, but a modeless one has no effect on another.
01 Jul 09

Why Dependency Injection is better than Factory? (OO, Patterns, UML and Refactoring forum at JavaRanch)

  • Either one component is inserted into another, or one component finds another through some predetermined locating technique
  • Helper uses static methods, making it hard to override or replace, and it uses static methods on a configuration reader, making it hard to override or replace, so to set up a test with a mock implementation

Client Programming with Service Data Objects (SDO)

  • SDO gives applications both a static and a dynamic API for accessing data, along with a disconnected model for accessing externally persisted data.
  • XML schema types correspondence to SDO Java types
1 - 20 of 263 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo