Thursday, December 26, 2013

Customizing Eclipse


If you want to use a customized Eclipse IDE, you can make it easy.

More than 600 plugins waits for you :).

https://yoxos.eclipsesource.com/

Sunday, December 22, 2013

Java™ Coding Guidelines: 75 Recommendations for Reliable and Secure Programs

If you read  the book (and prepared TODO list) which is in the following link: http://threadsandlocks.blogspot.com/2011/09/cert-oracle-secure-coding-standard-for.html,
you should read this new one.

General Purpose is same, More/Very Secure coding in Java.
CERT Oracle Secure Coding Standard for Java is like a Captain's Logbook.
"Java™ Coding Guidelines: 75 Recommendations for Reliable and Secure Programs" is the second for this category.

It contains very detailed examples about "Secure coding in Java".
75 different and necessary recommendations're detailed with their reasons.

This recommendations are grouped into 5 categories.
1.Security
2.Defensive Programming
3.Program Understandability
4.Reliability
5.Programmer Misconception

References in this book  are very helpfull and every reference like a wind moves you to the new resources for reading/searching them :).



Saturday, December 21, 2013

Oracle SOA Suite 11g Handbook By: Lucas Jellema

If you were /are interested in  Oracle BPEL, this book tells you news about Soa Suite 11g.
Oracle Weblogic Server will be your flows' applications server. Everything is yours SCAs.

Some keywords from the book: 

1. ADF
2. SCA
3. SDO
4. MDS
5. Business rules, rulesets
6. EDN
and more...

If you are 10g developer:

      :) 10g ESBs now are  Mediators.
      :) Exception Handling is very cute.
      :) XSLT not same. Sometimes You need change your .xsl file content.
      :) Application Server is different than the older one(10g).


Friday, December 13, 2013

Little little comes to the middle :)

When i learned this Virtual Java User Group's activities, I remembered my note which belongs to 2 years ago.
http://threadsandlocks.blogspot.com/2011/12/remove-borders.html

Virtual JUG organizes good webinars. 

If you are interested in, please visit:

www.meetup.com/virtualJUG/


Really Good Job :) !

Sunday, December 8, 2013

[Book] The Elements of Java™ Style

This book'd been written in 2001.

Some important principles of Java for the Java Application Developers are still same  and items for usage list are, of course,  valid for the given samples in this book.

I see many new beginners on the net and the forums that i followed.

For the accustoming to the java programming language syntax, this book is very very good guide.
I believe in that your code should be understandable for every code reviewer.
Ok, source code is very good documentation but code comments and variable names are important as much as the code bugs and  source code style shows the respect of your program that you write. This my personal opinion :-).

May be this book needs for update to the including new Java features. Maybe it exists.

Saturday, December 7, 2013

2013 Exception Awards for ThreadsAndLocks

Category: The Best Known

Nominates:


1. ClassDefNotFoundException
2. NullPointerException
3. RuntimeException

Winner: NullPointerException                                                                                     
Category: Common Used

1. RuntimeException
2. Custom Exceptions
3. Exception

Winner: Custom Exceptions


Category: Sometimes Happen and passes with retry :P
1.  TypeNotPresentExceptionProxy
2.  IOException
3.  MalformedURLException

Winner: IOException

My Note 2 Sweet! Exceptions: 

Please dont be angry, i think Exception is Exception :), You're all from same family :) and all are same for me. 
Please only stay at the source code and  never be at runtime :-)


Nice Site:

http://www.javacodegeeks.com/2013/07/java-exception-handling-tutorial-with-examples-and-best-practices.html




Friday, December 6, 2013

Weblogic war files and libraries

If your web application requires some 3rd party libraries for the platform Weblogic, there are common used 2 different ways for running your application with including this archive files.

First one is adding this libraries to the classpath of Weblogic Server.

Second one is making definition in the weblogic.xml file of your project.
For instance:

  <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
  </container-descriptor>

And for more information:

http://docs.oracle.com/cd/E24329_01/web.1211/e21049/weblogic_xml.htm


If you've to use  3rd party jars with different versions, i think second way is better.