Tuesday, July 26, 2011

Create attractive screenshot-based support documents in minutes

The ScreenSteps desktop app for Windows and Mac lets users create attractive screenshot-based support documents in minutes. You can capture full or partial screenshots, add relatively sophisticated annotation and then publish to the web or export in HTML or PDF formats.

Web site : http://www.bluemangolearning.com/

Thursday, July 7, 2011

One-line SOAP Messages

Your logs should be optimized for maintenance in enterprise applications. That means you need to optimize your log for standard text processing with standard tools like GREP. Best practice for XML logs is to make them one line in the log file. So that you can search them with grep command having more than one criteria. If you XML message is not oneline you can use following command to convert them to a one line message and log this with your logger.

s= s.replaceAll("\\r\\n|\\r|\\n", "");
logger.debug(s);


kg

Sunday, July 3, 2011

Java SE 6 and Webservices

Webservices can be written using core Java SE 6 (Java Standard Edition 6) or greater without any additional software. All of the required librarires are available in Java SE 6. Java SE 6 ships with JAX-WS.


ref: http://www.amazon.com/gp/search?index=books&linkCode=qs&keywords=059652112X

Tuesday, March 29, 2011

Using Maven from a local repository

Maven has a local repository. Local repository is used to store all the projects' libraries. When you build your application with maven by your build script maven will download all the depended libraries to your local repository. But if you are behind a corporate firewill and do not have access to a proxy you can download all the libraries first at home and tell maven to use those local libraries.

Maven local repository is default to home directory (~/.m2 on Unix/Mac OS X and C:\Documents and Settings\username\.m2 on Windows). Often times, you need to change the default location for maintainability purpose, .m2 is not a meaningful name:).

Maven configuration file
This file is under {M2_HOME}\conf\setting.xml
Location of the local repository is definfed in this file.

Find the following “localRepository” pattern, and define your new Maven local repository inside the “<localRepository>” element.

<settings>

  <!-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ~/.m2/repository

  <localRepository>/path/to/local/repo</localRepository>
  -->
 
<localRepository>D:/maven_repo</localRepository>

Maven will use this local repository location. If maven finds all the libraries on the local drive it will not try to download them from an online repository.

LinkWithin

Related Posts Plugin for WordPress, Blogger...