Every time I started new project I need to reintroduce some stuff that I already did. So, to not reinvent the wheel...
Mostly performance connected ;-)
Very often I found that projects are using own layer of logging on top of Log4J. I understand that everyone wants to be independent however sometimes we need to ask our-self simple question: why?
Here you could find simple example & test how much you can achieve by not introducing that layer.
We as programmers want to write quality code that solves problems. Unfortunately, exceptions come as side effects of our code. No one likes side effects, so we soon find our own ways to get around them.
Want to switch applications, empty the trash, search your hard drive, or put your Mac to sleep - without touching your mouse? Here are keyboard shortcuts that’ll let be a Mac pro.
What is known as “Print Screen” in the Windows world is called screen captures or screenshots in Mac OS X. You’ve probably noticed there is no ‘Print Screen’ button on a Mac keyboard, this is to both simplify the keyboard and also because it’s unnecessary. Instead of hitting a “Print Screen” button, you’ll hit one of several keyboard combination shortcuts, depending on the exact screen capture action you want taken.
- Determine number of opened connections
Parsing An SQL Statement
What is / Components of an Execution Plan ?
Common Coding Mistakes
SQL Best Principles
The hardest part of writing a design document has nothing to do with the writing.
The difficult part is working through a logical design before you get to coding.
Once you have a vision of how the objects and entities are arranged, writing the details is easy.
The positive difference that spending a week on this task can make is unbelievably rewarding in the end.
As the adage goes, “If you fail to plan, then you plan to fail.”
JGroups [http://www.jgroups.org/] is a toolkit for reliable messaging. It can be used to create clusters whose nodes can send messages to each other. The main features include
- Cluster creation and deletion. Cluster nodes can be spread across LANs or WANs
- Joining and leaving of clusters
- Membership detection and notification about joined/left/crashed cluster nodes
- Detection and removal of crashed nodes
- Sending and receiving of node-to-cluster messages (point-to-multipoint)
- Sending and receiving of node-to-node messages (point-to-point)
Apache Cayenne - Apache Cayenne(tm) is an open source persistence framework licensed under the Apache License, providing object-relational mapping (ORM) and remoting services. With a wealth of unique and powerful features, Cayenne can address a wide range of persistence needs. Cayenne seamlessly binds one or more database schemas directly to Java objects, managing atomic commit and rollbacks, SQL generation, joins, sequences, and more. With Cayenne's Remote Object Persistence, those Java objects can even be persisted out to clients via Web Services