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/
Monday, December 23, 2013
Watchlist Fun and learn
BSD is ..?
Song of the day :P
Why Scala?
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 :).
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).
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
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 :) !
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.
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
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.
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.
Thursday, November 28, 2013
Saturday, November 9, 2013
FindDeadLocks Api
I want to use any API or plugin :-) that runs application and finds the code lines/threads
which could have any block waiting for each other’s locks without monitoring in the run-time of the app.
If i couldn't find such any tool like that i mentioned above, i start to write it, really, hopefully :).
which could have any block waiting for each other’s locks without monitoring in the run-time of the app.
If i couldn't find such any tool like that i mentioned above, i start to write it, really, hopefully :).
Sunday, November 3, 2013
Suspend Membership and it brings :)
When you become a member any web site for specific time period, you take advantage of membership facilities until the time of membership is over.
As Human Being, we cannot be stable and we cannot control everything in our life. Sometimes you have a new nephew and your family need your help. May be you go to holiday or abroad because of the any reason. And you couldn't make use of your membership facilities for a while.
I want to suspend my accounts and extent the membership time for this reasons on those days.
But i did not see such an option on the any web site.
imagesource: http://www.rubylane.com/item/285513-10575/LISNER-Pretty-Pastel-Colored-Rhinestone
As Human Being, we cannot be stable and we cannot control everything in our life. Sometimes you have a new nephew and your family need your help. May be you go to holiday or abroad because of the any reason. And you couldn't make use of your membership facilities for a while.
I want to suspend my accounts and extent the membership time for this reasons on those days.
But i did not see such an option on the any web site.
imagesource: http://www.rubylane.com/item/285513-10575/LISNER-Pretty-Pastel-Colored-Rhinestone
OK GLASS :)
I was at DevFest 2013 Istanbul, yesterday. There were many interesting presentations
such as MongoDB, Neo4J, Android Game Development , so many.
Google Glass reminded me this article.
http://cacm.acm.org/blogs/blog-cacm/167230-privacy-and-google-glass/fulltext
New applications and enhancements for Google Glass will be one of the topics of the next following years.
such as MongoDB, Neo4J, Android Game Development , so many.
Google Glass reminded me this article.
http://cacm.acm.org/blogs/blog-cacm/167230-privacy-and-google-glass/fulltext
New applications and enhancements for Google Glass will be one of the topics of the next following years.
Sunday, October 27, 2013
Java 7 Pocket Guide
If you write any api/plugin like FindBugs;
This book is very good reference for the checklist.
This book is very good reference for the checklist.
If you trying to establish coding standards for your team;
This book is helpful to preparing considerations such as the naming of variables etc.
If you are very new for java 7,
This book helps to upgrade quickly :-)
Thursday, October 24, 2013
Raspberry PI Day #1
i got my little sweet raspberry startup kit finally!
then i downloaded the IOS and copied into the SD Card.
i watched this video:
http://www.youtube.com/watch?v=y4GOG4P-4tY
it is very helpful!
Image Source: https://www.sparkfun.com/tutorials/372
Monday, October 14, 2013
[Book] Java Quick Syntax Reference
Beginning to learn a new programming language and getting accustomed to the language basics take time.
More practice could be good method but if you have less time to do; reading this book could be nice start-up.
For the fundamental java instructors, this book can be helpful to show language basics for syntax explanation if the presentation document is not ready:-).
Link is here:
http://www.apress.com/9781430262862
More practice could be good method but if you have less time to do; reading this book could be nice start-up.
For the fundamental java instructors, this book can be helpful to show language basics for syntax explanation if the presentation document is not ready:-).
Link is here:
http://www.apress.com/9781430262862
Wednesday, October 9, 2013
JavaOne 2013 as i saw it
From the keynotes' talks, i remember the following titles:
Netbeans
Raspberry PI
Kids4Java
JavaFX
Parallelism
Cloud Services
My Hope: To see Java ME and SE will be same.
My keywords: Java EE7, Java SE8, Java Security Architecture and Garbage Collection.
My new interests: Raspberry PI, Kids4Java
New Time lib seems to be best ever.
My favorite tutorial was: Java Security Architecture by David Svoboda.
Good Sessions: ugf10520,con5767,con2417
For finding memory Leaks, nice tool: http://plumbr.eu/
In the many web sites, many speakers published own slayts.
I collected some of them for you:
http://www.youtube.com/watch?v=MU4zOhizV8ohttp://www.youtube.com/watch?v=cvEkRubHQw4&feature=c4-overview&list=UUfO1gg5cljgmcTrZR-MzDKwhttp://www.devoxx.com/display/4KIDS/Homehttp://www.oracle.com/openworld/live/on-demand/index.html#oow
https://wiki.openjdk.java.net/display/OpenJFX/DukePad
Netbeans
Raspberry PI
Kids4Java
JavaFX
Parallelism
Cloud Services
Avatar Project
Embedded
event processing
Internet
of Things
Java
EE7
Java SE 8
Mobile
floating datacenter My Hope: To see Java ME and SE will be same.
My keywords: Java EE7, Java SE8, Java Security Architecture and Garbage Collection.
My new interests: Raspberry PI, Kids4Java
New Time lib seems to be best ever.
My favorite tutorial was: Java Security Architecture by David Svoboda.
Good Sessions: ugf10520,con5767,con2417
For finding memory Leaks, nice tool: http://plumbr.eu/
In the many web sites, many speakers published own slayts.
I collected some of them for you:
https://wiki.openjdk.java.net/display/OpenJFX/DukePad
http://openj.dk/2013/08/07/javaone-community-keynote-2013/
http://vimeo.com/75368008http://www.youtube.com/watch?v=MU4zOhizV8ohttp://www.youtube.com/watch?v=cvEkRubHQw4&feature=c4-overview&list=UUfO1gg5cljgmcTrZR-MzDKwhttp://www.devoxx.com/display/4KIDS/Homehttp://www.oracle.com/openworld/live/on-demand/index.html#oow
https://wiki.openjdk.java.net/display/OpenJFX/DukePad
Update:
In the following link, you can too many detailed information :).
http://marxsoftware.blogspot.com/search/label/JavaOne%202013
In the following link, you can too many detailed information :).
http://marxsoftware.blogspot.com/search/label/JavaOne%202013
Monday, October 7, 2013
Sweet Java8 is commmiiiinnnggg
Good things come to those who wait :)
One of the keynote topics @JavaOne2013 was Java8 and it brings. it will come with easiest ways to the programmers.
After Java 8 it seems to be easiest Date usage will be with java developers.
After using Java8, would you please tell me how many lines will be deleted from all of the source codes in the projects (all around the world).
When i saw the removeAll advantages, i found myself thinking this calculation unconsciously :):
Anyway, it comes to its goodparts of Java8, the following slides and the links inside may be helpfull.
http://java.dzone.com/articles/java8-good-parts-javaone-2013
Update:
When you give Java 8 seminar/training etc, I don't advise you using "Age" topic in your samples:)
this photo belongs to JavaOne2013 Sunday Keynote :-)
One of the keynote topics @JavaOne2013 was Java8 and it brings. it will come with easiest ways to the programmers.
After Java 8 it seems to be easiest Date usage will be with java developers.
After using Java8, would you please tell me how many lines will be deleted from all of the source codes in the projects (all around the world).
When i saw the removeAll advantages, i found myself thinking this calculation unconsciously :):
Anyway, it comes to its goodparts of Java8, the following slides and the links inside may be helpfull.
http://java.dzone.com/articles/java8-good-parts-javaone-2013
Update:
When you give Java 8 seminar/training etc, I don't advise you using "Age" topic in your samples:)
this photo belongs to JavaOne2013 Sunday Keynote :-)
Friday, October 4, 2013
NetBeans for java beans :)
As a java developer kawa, notepad :) , IntelliJ, jdeveloper and eclipse tools
that i used.
It comes to learn Netbeans IDE.
You must know this:
As i heard;
James Gosling: "NetBeans is the new powerpoint"
As i watched;
Good Java application samples developed and shown by using Netbeans IDE
I thought that Netbeans calls me :-). Being learned Primefaces played an extra role :).
As I hope so the following weeks you are going to see my netbeans experience in this blog.
I downloaded and started to read tutorials about development in the Netbeans' web site.
I started from this page: https://netbeans.org/kb/docs/java/gui-functionality.html
firstly I want to comment for the one of tutorials and this message took my interest and i really really like it :).
As a summary for this night,
Code and Development samples in the Netbeans are very simple explanation and helpful.
If you download "debugging-sample" sample project, you can understand how the human-programming interaction is improved to the better than before when you see the method of "setLookAndFeel" :). I found very exciting. Maybe some Java/Swing developers familiar with this. Please ignore my re-discoveries.
http://www.amazon.com/Java-Look-Design-Guidelines-Edition/dp/0201725886
i found a more detail for this.
http://docs.oracle.com/javase/6/docs/api/javax/swing/UIManager.html
From the Netbeans how the topic flowed to the this class, i really didnt recognize:) sorry
It comes to learn Netbeans IDE.
You must know this:
As i heard;
James Gosling: "NetBeans is the new powerpoint"
As i watched;
Good Java application samples developed and shown by using Netbeans IDE
I thought that Netbeans calls me :-). Being learned Primefaces played an extra role :).
As I hope so the following weeks you are going to see my netbeans experience in this blog.
I downloaded and started to read tutorials about development in the Netbeans' web site.
I started from this page: https://netbeans.org/kb/docs/java/gui-functionality.html
firstly I want to comment for the one of tutorials and this message took my interest and i really really like it :).
As a summary for this night,
Code and Development samples in the Netbeans are very simple explanation and helpful.
If you download "debugging-sample" sample project, you can understand how the human-programming interaction is improved to the better than before when you see the method of "setLookAndFeel" :). I found very exciting. Maybe some Java/Swing developers familiar with this. Please ignore my re-discoveries.
http://www.amazon.com/Java-Look-Design-Guidelines-Edition/dp/0201725886
i found a more detail for this.
http://docs.oracle.com/javase/6/docs/api/javax/swing/UIManager.html
From the Netbeans how the topic flowed to the this class, i really didnt recognize:) sorry
Monday, September 16, 2013
Java Compilation Suprises for newbies
Learn how to smart java compiler, make duplicate code lines in your code and after compilation, when you decompile of your compiled source code (.class file) you must see the how optimization is maden :)
Speacially Try-Catch Blocks for that, I prefer!
Speacially Try-Catch Blocks for that, I prefer!
Wednesday, September 4, 2013
Java, Unknown Threads are perfect strangers, arent they?
Perfect memory usage is necessary for any application.
After write your application it comes to the performance monitoring.
The following comments for heap monitoring.
-verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:filename.ext
when you run your application you get the log file filename.ext.
GcViewer is the best for displaying log file.
Then enjoy!
After write your application it comes to the performance monitoring.
The following comments for heap monitoring.
-verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:filename.ext
when you run your application you get the log file filename.ext.
GcViewer is the best for displaying log file.
Then enjoy!
Saturday, August 31, 2013
New books
http://www.amazon.com/Industrial-Deployment-System-Engineering-Methods/dp/3642331696/ref=sr_1_52?s=books&ie=UTF8&qid=1377971550&sr=1-52
http://www.amazon.com/Sencha-Touch-Action-Jesus-Garcia/dp/1617290378/ref=sr_1_31?s=books&ie=UTF8&qid=1377971656&sr=1-31
http://www.amazon.com/Getting-Started-Google-Guava-Bejeck/dp/1783280158/ref=sr_1_52?s=books&ie=UTF8&qid=1377971695&sr=1-52
http://www.amazon.com/TestNG-Beginners-Guide-Varun-Menon/dp/1782166009/ref=sr_1_68?s=books&ie=UTF8&qid=1377971720&sr=1-68
http://www.amazon.com/Extenics-Innovation-Methods-Wen-Cai/dp/1138000493/ref=sr_1_48?s=books&ie=UTF8&qid=1377971536&sr=1-48
http://www.amazon.com/Redis-Action-Josiah-L-Carlson/dp/1617290858/ref=sr_1_8?s=books&ie=UTF8&qid=1377971480&sr=1-8
http://www.amazon.com/Sencha-Touch-Action-Jesus-Garcia/dp/1617290378/ref=sr_1_31?s=books&ie=UTF8&qid=1377971656&sr=1-31
http://www.amazon.com/Getting-Started-Google-Guava-Bejeck/dp/1783280158/ref=sr_1_52?s=books&ie=UTF8&qid=1377971695&sr=1-52
http://www.amazon.com/TestNG-Beginners-Guide-Varun-Menon/dp/1782166009/ref=sr_1_68?s=books&ie=UTF8&qid=1377971720&sr=1-68
http://www.amazon.com/Extenics-Innovation-Methods-Wen-Cai/dp/1138000493/ref=sr_1_48?s=books&ie=UTF8&qid=1377971536&sr=1-48
http://www.amazon.com/Redis-Action-Josiah-L-Carlson/dp/1617290858/ref=sr_1_8?s=books&ie=UTF8&qid=1377971480&sr=1-8
Sunday, August 18, 2013
Friday, May 10, 2013
The code of method getValue() is exceeding the 65535 bytes limit
You should be you* dont get this error:
The code of method getV() is exceeding the 65535 bytes limit
Because you have to split your java methods.
http://stackoverflow.com/questions/12257398/how-to-fix-the-code-of-method-is-exceeding-the-65535-bytes-limit
* :) in turkish idom (Sen, sen ol)
The code of method getV() is exceeding the 65535 bytes limit
Because you have to split your java methods.
http://stackoverflow.com/questions/12257398/how-to-fix-the-code-of-method-is-exceeding-the-65535-bytes-limit
* :) in turkish idom (Sen, sen ol)