Securing Java Applications: A Guide to Modern Development Practices