Skip to main content

Home/ Java Development/ Group items matching "for" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle

i18n links - 6 views

started by Gergely Notpublic on 15 Jun 09 no follow-up yet
9More

[JavaSpecialists 177] - Logging Part 3 of 3 - 0 views

  • Writing your own logging framework is the perfect coding crime.
  • Writing your own logging framework is the perfect coding crime
  • Even the Sun engineers fell into this trap. Prior to Java 4, we had a perfectly good logging framework in Log4J. However, instead of adopting this into the standard Java distribution, we ended up with java.util.logging. There are lots of Java logging frameworks available, even meta-logging frameworks like SLF4J and Jakarta Commons. These are supposed to abstract the logging frameworks so you can change the implementation without touching your code.
  • ...5 more annotations...
  • Logging Levels
  • In Log4J for example, we have six default levels, FATAL, ERROR, WARNING, INFO, DEBUG and TRACE.
  • Since it is tricky assigning the correct levels in our code, we should regularly do code reviews with specific emphasis on logging levels.
  • We should be able to adjust the log levels of our individual components at runtime without restarting our application.
  • Silent Operation
  •  
    Writing your own logging framework is the perfect coding crime. If you can convince your manager to put it on the project plan, you are guaranteed to have success. At the end of each day, you will go home feeling happy and satisfied. It will feel like you are doing something creative. You will get the intellectual stimulation without the risk of failure. Even the Sun engineers fell into this trap. Prior to Java 4, we had a perfectly good logging framework in Log4J. However, instead of adopting this into the standard Java distribution, we ended up with java.util.logging. There are lots of Java logging frameworks available, even meta-logging frameworks like SLF4J and Jakarta Commons. These are supposed to abstract the logging frameworks so you can change the implementation without touching your code. http://www.javaspecialists.eu/archive/Issue177.html
1More

jOpenDocument Homepage - 0 views

  •  
    A java library for ODF
1More

Java Snippets code for generating PDF using iText @ Shunmuga's Blog - 0 views

  •  
    Snippet to generate programmatically PDFs using iText
19More

untitled - 0 views

  • initWidget(uiBinder.createAndBindUi(this));
    • anonymous
       
      To inizialize the "menber variable" whith the widget object described in the XML view despription
  • uiBinder.createAndBindUi(this)
  • GWT compiler won't actually visit this URL to fetch the file, because a copy of it is baked into the compiler
  • ...15 more annotations...
  • @UiField have default visibility
  • UIObject
  • DivElement
  • If your factory method needs arguments, those will be required as attributes.
  • Every widget that is declared in a template is created by a call to GWT.create().
  • @UiConstructor annotation.
  • you can mark your own widgets with
  • CricketScores has no default (zero args) constructor
  • you can define a @UiFactory method on the UiBinder's owner
  • annotate a constructor of CricketScores with @UiConstructor.
  •   @UiFactory
  • public class UserDashboard extends Composite {  interface MyUiBinder extends UiBinder<Widget, UserDashboard> {}  private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);  public UserDashboard() {    initWidget(uiBinder.createAndBindUi(this));  }}
  • use several different XML templates for the same view
  • public interface Display
  • methods can be called to fill in attribute values
1More

Chronon | Time Traveling Debugger and Recorder for Java - 0 views

  •  
    A "flight data recorder" and correstponding "time traveling debugger" to playback the data. Integrated into Eclipse.

Online Threats and Dangers - 2 views

started by john sega on 07 Jun 11 no follow-up yet

One on One Professional Online Tech Support - 3 views

started by shalani mujer on 06 Jun 11 no follow-up yet

A Firm Believer in Computer Support - 1 views

started by Rem Comp on 09 Aug 11 no follow-up yet

They Fixed My Slow Computer - 1 views

started by shai edrote on 12 Sep 11 no follow-up yet

Effective Tech Software Support - 1 views

started by shalani mujer on 12 Sep 11 no follow-up yet

Remote Online PC Support I Can Rely On - 1 views

started by Rem Comp on 12 Sep 11 no follow-up yet

The Best Remote PC Support I Ever Had - 1 views

started by Rem PC on 12 Sep 11 no follow-up yet
« First ‹ Previous 201 - 220 of 263 Next › Last »
Showing 20 items per page