Saturday, December 26, 2009

Log4j and java.util.log differences

Hi,

Both Log4j , java.util.log contains similar functioanlities . But in Log4j writing ur applications to different appenders are more ,for ex u can send ur log to ur email too. etc .u can find good article here in this link.check it out.


Monday, September 21, 2009

Completed SCWCD

Hi,

another milestone SCWCD 5 .0 completed !!!

Regards
Bhavani

Sunday, July 26, 2009

java Memory Leak Tool

Hi,

In Real world scenarios ,memory leaks in applications are hanging our project costs.In order to find memory leaks there is a tool called Yourkit. check it out yourkit and practise with that..

http://www.yourkit.com/

Monday, May 11, 2009

Spring 2.5 AOP Book

Hi,

A good book on Spring Aspect Oriented Programming(AOP) was released. u can check it out in this link

http://www.packtpub.com/aspect-oriented-programming-with-spring-2-5/book

Saturday, May 2, 2009

shale framework

Hi,

shale framework is one for primarly for JSF applications. u can even integrate with spring framework and testing suite for ur applications also available.event handling processing also available.check it here

http://shale.apache.org/

CSS design site

Hi,

there is a good site for CSS design, u can have good designs and u can share good css files too.

http://csszengarden.com/?cssfile=/104/104.css&page=0

Icefaces open sourced

Hi,

as per i know 2 wonderful ajax frameworks for JSF are Ajax4jsf,ICEFACES. Through icefaces u can have rich set of readily components ,u can use it in ur code. Now Icefaces came to open source the code,as per compettion among the others and get to popular. u can take code and try your self for better components.check it out below link

http://www.icefaces.org/main/ajax-java/jsf-ajax.iface

Sunday, April 26, 2009

Twitter @ many java people

Hi, .


Twitter is good site like orkut ,but one wonderful thing is you can find lot java guys , who work with spring core team and eclipse teams .so join and follow them for their new java techonology suggests etc..

http://twitter.com/

Sunday, April 19, 2009

10 features which are not using in java

Hi
const keyword,most of exe files in java directory such as javadoc, javaOS,applets,corba,javax,acceability, Midi library for sound applications, certain java 6 api features, assertions etc..

http://www.jroller.com/agoubard/

EPL New Licence for software

Hi ,

Now a new licence came as EPL compared to earlier CPL , IBM and eclipse annouced new license for open source softwares. EPL is ISO certfied.

http://dev.eclipse.org/blogs/mike/

Sunday, April 5, 2009

JTAPI

hi ,
There is API for java based telephone applications, u can communicate 2 telphonic applications with this API. check it out link !!
http://java.sun.com/products/jtapi/

Thursday, April 2, 2009

Spring BlazeDS Integration

Hi ,
Spring BLAZE DS framework as for the spring and Flex users. The theme of the project is simple
spring + flex=== Spring BLAZE DS

1) through this framework we can bulid the server side j2ee components for Spring and UI components can built from Adobe flex. u can check the project details from following link.
http://www.springsource.org/spring-flex

Saturday, March 21, 2009

java web start application

Hi ,

  I think most of the java guys know about the java web start , as i learned yesterday here are some points about that 

1) java web start  will come up with yout jdk.
2)Main purpose of this appplication is  say  you requested for some  x application in the net ,the application u are running having old java version ,  then u cannot  use x application which is having latest JRE environment .
3) java web start allows you to  automatically download the  JRE into your client system of any version whuch your application doesnt support.
4) you no need to the bother about the  differnt browsers ,  u can mention the attibute like java  5 or  java 6 what ever u want through web start ,it will  take of every  client which is accesing ur application ,if there is no proper version it will install and work.


Java FX Compettion are u ready ?

Hi, 

  I think  you  know about JavaFX, sun's technology for rich set applications for mobile and desktop.Now for RIA world competition leaded to sun  introduce  the competition for javaFX coding applications.Competiotion starts from march 23 to may 29 . so register the competiotion and devlop the richset applications and win the prizes.

1st prize 25000 $
2nd prize 15000$
3rd prize  10000$

even student section also it  is there !!! 

Here is link


Monday, March 2, 2009

Ant or Maven ?

Hi ,
As we know good build tools like Ant ,Maven which one to use?
Ofcourse Now adays every body say Maven .
Here are advantages for Maven over Ant
1) Dependency management
2) built in tags for compilation etc..
3)easy to integrate with PMD etc.

where as In Ant a lot of scripts u need to write..
Well hold on here is another question correct maven is doing good build tool
here are some questions
1) why we need still xml related things to write as some users are not aware much ?
2) there are some situations like same jars of different versions in different places coincide in through maven scripts then finding solution is very difficult .
3) why maven reposorities required where our jars not found

Here are some of emerging build tools are here
1)Gradle
2)Gant
3)Raven

still Gradle has certailn feaures depency mangagement , it has only few lines of configuration needed.
Here is the link.
http://gradle.org/

Swing Framework Still there ?

Hi ,
As per new JSR in upcoming JAVA7, there one news came that still they want to include Swing Framework in java 7.But Some of the JSR team people itslef giving vote against Swing framework in java7, reason is simple , the code base what ever they are giving for Swing didnt updated.Another reason we can guess is in todays RIA world so many frameworks evolved for UI. Always developers are going for built in components frameworks like IceFaces . So my vote is also against swing in JAVA 7.

Thursday, February 26, 2009

Spring framework 3.0 M2 Released

Hi,

At last Spring framework 3.0 M2 released . It has certain features such as JPA 2.0 support ,and MVC portlet 2.0 etc .

Here is the link

http://www.springsource.com/download

Saturday, February 21, 2009

Constructor dependency injection vs setter dependency injection

Hi ,

As per dependency injection we are having 2 popluar dependency injections as setter dependecy injection,constructor dependency injection.

setter dependency injection: In this injection we will inject everything as setter methods.
for example setEmpName(). etc .

constructor injection: In this injection we will inject everthing as constructor . for example we are having class Employee . then Employee(Arguments) construction can intialize itself .


Now which one is good ? It dependens on appliation. But i prefer constructor injection. Reason is constructor injection follows order , means there is very less number of chances for ambigity .

Let us assume that we are having 3 classes or beans with in our appliaction .

for ex : Employee ,dept ,school

so 3 of them are having same method name as "Name" describing as Employee name,dept name,school name etc..

so when ever you are applying setter injection as setName() there is chance for container to go wrong to different bean as cyclic error often some times.

but when ever you are using or calling constructor injection u have to call Employee(),dept(),school() respectively. one more point is it will follow order ,if it fails it throws error.

for example you are having certain classes like

y1 y=new y1();
k1 k =new k1(y);

through our constructor injection

H h=new H(y,k); // Here if it fails in any no of arguments code willn't compile at all .

Happy Sivarathri bye :_)

OSGI Technology

Hi ,

OSGI is technology which is popular now adays . a brief explanation is here

Problem : Suppose let us assume we have n number of war files in a application. Assume that we installed our application in application server . Rememeber we made single war or jar with multiple jars/wars and deployed as single component. suppose any change we want to do for one jar file in whole application. Then we have to stop the whole application and make the changes and deploy again . which is effectiing all the modules of application.


Solution: Here is OSGI technology comes for that ,it comes with bundles of components and if u want to change the particular jar u can change at runtime also with out stopping appliaction .This is a simple example use of OSGI.

Now OSGI is coming with almost all popular application servers.

Here is the link

http://www.osgi.org/Main/HomePage

Thursday, February 12, 2009

web Authorization using XACML

Hi ,

  as per servlets specification we can have security access to web reources in  containers in xml file.But if u want to have security access  customized like  some of employeees only allowed to certain parts u can have XACML , where 2 points will be there  to control resources ,first reuest  will come to  policy enforce pont (PEP) frrom there it will check policy decision point PDP ,whether access needed or not , instead of writing customizes code for ur application. u can use jboss XACML
thing .

Here is link





Java FX 1.1

Hi,

 java FX 1.1 released in which u can develop applications not only related to desktop, u can have ur applications in even mobile also


Sunday, February 1, 2009

java Performance Test clues

Hi ,
As i read in one article about java performance test .Here are some clues which i got from article.
When ever u are doing performance testing for java code make sure following points
1) As per Performace test use what are exisitng poplular java performance tools .
2) when ever u are doing performance testing on LOOPS like While,for,Iterator you should nt get variant results. If it is

2.1 Repeat the performance tests for particular code ,and make sure results are same.
2.2 Before doing testing make sure that all applications are closed like word etc ,because if your jvm using any bit of application results will vary.
2.3 Check your memory available in CPU .
2.4 Check the threads which are dependent on other threads.

3) At last check all the methods or application code which is contacting outside application .

These are some clues i found , you please refer certain performance tools available in market .

WEB4J framework

Hi,

  A new framework for java  WEB4J came to Exisistance.If  you want to try this new framework
check here

Wednesday, January 28, 2009

MQ Port Scan v1.0.0

Hi ,
MQ Port Scan v1.0.0 version released , there main intention is we can scan a range of ports for given Queue manager, MCA at particular IP address ,and makes successfull connection. The input is Ipaddress or host name so that it can search ports of particular IP for successful connection.
check it out link
http://www.capitalware.biz/open_source.html

Servlet 3.0 Public Review Updates

Hi,
Servlet 3.0 came to public review , Here are some highlights

1) Annotation based notations
for ex:
@WebServlet(name="k",urlPatterns="kk",initParams={"l"})
public class newServlet extensd HttpServlet
{

}
you can have filter also have annotation @ServletFilter
instead of having Entries in web.xml file.

2)Asynchronous Support:
Servlet can wait for a particular resources(JDBC,WebService etc) asychronously.
3)Secuirty Feature:
HttpServletRequest and HttpServletResponse having feature like Login ,when ever request comes automatically forwading to Login Page and as like Logout feature.

Tuesday, January 27, 2009

Eclipse Modelling Framework(EMF)

Hi ,
There is a open source framework called Eclipse Modelling Framework(EMF). EMF is basis for so many IBM websphere products. Through this framework we can develop a graphical model ,so that we can generate code from that model.If any change occurs we can easily modify the graphical item and regenerate code. As good example is we can create UML models and can generate the code.

check the link
http://www.ibm.com/developerworks/library/os-ecemf1/

Thursday, January 22, 2009

JBOSS RESTEasy 1.0 GA Released

Hi ,

JBOSS RESTEasy 1.0 GA is a framework for developing the RESTFUL web services in java .It is having feature with integration of spring framework also.Its supports o specification of JAX-RS.


check it out here

 http://www.jboss.org/resteasy/


Tuesday, January 20, 2009

Which Framework to use?

Hi ,

There are lot of web frameworks availiable in the world.So which frame work to use mainly depends on the type of application.As Java developer i prefer Spring frame work.Because it has many dynamic components such as AOP(Aspect Oriented Programming),Dependecy framework when compared to typestary,strurts frameworks.In Spring you have advantage of what you want you use and left it out what u dont want !!

Even Now Spring comes with OSGI implementation,etc like todays world there lot of dynamic things are coming to Spring , One more point is u can integrate with other frameworks also important feature of Spring !!

check it @ www.springsource.org

Wednesday, January 14, 2009

Spring Sorurce tm server

Hi ,

Till now we have seen so many web servers like tomcat etc and application servers ex weblogic,websphere.Difference you knows tomcat is very light and very fast container ,but only problem is not behaves like an application server. Now "Spring Source tc Server" is a tomcat server with all capabilities like what it does for weblogic,websphere etc ,very fast .we can deploy all the ear files into new tomcat server.Now is it require any websphere or weblogic or any other application servers?
Now this product is going to be in Market .Let us warm welocme another light weight product !!!

Here is the link check it out

http://www.springsource.com/products/suite/tcserver

Monday, January 12, 2009

Jar Analyzer

hi,

Jar Analyzer tool is dependency management tool , what it does for us is ,

it will go through directory of ur jars,and analysis the dependecy between


different jars and tell us the relationship ,duplicates between jars in a map.

Check it out Here

www.code.google.com/p/jaranalyzer/