About what is this post?
Last time, We had a problem with too much log files on production server. Everyone know that better is not to remove them. Sometimes you need to check this files to fix the bug. So I ask myself a question what to do to do it faster? Write a program to do that. So i do that. Coding simple programs or just coding is good practice to learn useful library in java that can help you doing common things. With maven You can very fast code programs. For example on logcompressor i spend maybe about 5 hours. The code for logcompressor You find in https://bitbucket.org/lukasz_wozniak/logcompressor . If You check pom.xml I’m using many library that is very helpful in work.
There is a time as a developer You want to learn something new. Something that You don’t now yet. Reading some couple of articles on http://www.javacodegeeks.com/ I found some of them about the Android Tutorials. Many of them was wrote like simple tutorial – it is very good, but i wanted to read something sophisticated. Something you can read all night and have fun from learning it. It was …
… this is „Table of contents”. Step by step describe how android application works based on game developement, which is more fun to read. This Tutorial describe all basics how to build your own game – i think better than the other tutorials which describe the basics of Android Development. But there is one Android development screencasts that attract my attention. It is Android Mobile Development Tutorial by Jonathan Engelsma . There is for now 12 video tutorials that show how to work with AVD Manager or debugging android applications. Of course good start for learning Android applications is go to the official site: http://developer.android.com/.
I’m going to read and watch all the materials, and maybe i will create my own game or some application. If I finish it ( good point ), i will show you my work.
Hi! Today I had a problem with starting my project in JavaEE on Glassfish 3.1. It was long fight to made it work. But I lost the fight ( but not the war ) and made new instance of Glassfish server. The error i always get when starting serwer was:
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
Problem was with file: glassfish3/glassfish/domains/domain1/config/domain.xml I think my IDE change encondig of this file from UTF-8 to ASCII (I use IntelliJ and Netbeans). After some time I decide to install a fresh instance of Glassfish server. After that my application deploy successful. So i ask one question:
What to do, to don’t get same problem again ?
Today i was searching some information about Java 7 and i found some interesting article on DZone about important changes in Java 8. They totally remove Permanent Generation ( PermGen) and replace it with Metaspace.
More details about this information You can found here http://netbeans.dzone.com/articles/java-8-permgen-metaspace
Yesterday i passed next exam from Oracle – „1Z0-898 – Oracle Certified Expert, Java Persistence API Developer” with 81% score. I wanted to share with You my knowledge how i learn to pass it.
First book You need to read is: „Mike Keith and Merrick Schincariol – Pro JPA 2 Mastering the Java Persistence API”. This book covers all materials and chapters needed for exam. There is very good explanations about many problems. Everything is written in plain language. (more…)
Od mojego ostatniego postu minęło trochę czasu. Długo by opowiadać dlaczego, ale nie to jest dzisiejszym tematem . Dzisiaj natknąłem się na pewien problem z ilością wolnego miejsca na partycji, na której zainstalowany jest Windows 7. Nie będę na chwilę obecną rozwodził się, dlaczego system operacyjny zajmuje absurdalną ilość miejsca na dysku, ale chciałem podzielić się z wami sposobem jak można trochę tego miejsca odzyskać. (more…)
I want to share with you with my success. 2nd of February 2012 I’ve passed Oracle Certification 1Z0-851 with 88% result. I want to share with you with my preparations and opinion about the exam. It isn’t very hard, but you need to pass it to get the other ( harder ).
Everyone, who was learning to this exam, give you advice to get the book: „Katherine Sierra & Bert Bates - SCJP Sun Certified Programmer for Java 6 Exam 310-065 Study Guide” – now it is OCPJP. This book is wrote very good. It has many examples and notes, how to pass this exam. After each chapter there is a bunch of questions (about 15) , similar to those on the exam. (more…)
How many times you forget the package name when you install something by „apt-get” in Ubuntu. I am sometimes confused when the package is named „apache” or „apache2″ or „apache3″. I was searching the name of the package in the Internet – i lost some time with this. Last time i found useful command that helps me a lot. (more…)
Topic about ….
This post will be about a some error i get when i was coding in Ruby. This error was „formal argument cannot be a constantdef”. My first lines in this language was a little function (find somewhere on the internet):
This is my first post in english. So if You find any error, please leave a comment. Thank You. Some time ago, i started learning about Hibernate. I think the biggest ORM in Java. I could write many posts about how to start working with this library. When i was looking some information, i found very good videotutorial of user: patrickwashingtondc on YouTube – here You can find all 18 videotutorials: http://www.youtube.com/user/patrickwashingtondc. I want to share with You with this information. I hope it helps.