girishgaurav
girishgaurav
GirishGaurav
9 posts
Don't wanna be here? Send us removal request.
girishgaurav · 3 months ago
Text
Manage Multiple JDKs in Linux: Default & Switch Guide
In the dynamic world of Java development, you often need to manage multiple JDKs in Linux simultaneously. Indeed, this is crucial for: Ensuring Compatibility: Testing your applications across different JDK versions.Supporting Legacy Projects: Maintaining projects that rely on specific, older JDKs.Facilitating Multi-Project Development: Handling projects with diverse JDK requirements. Therefore,…
Tumblr media
View On WordPress
0 notes
girishgaurav · 3 months ago
Text
Streamlining Java Apps: Effortless Service Management with systemd in Ubuntu
Tired of wrestling with manual start/stop commands for your Java apps as systemd services in Ubuntu? In today’s streamlined Ubuntu environments, systemd stands as the quintessential service manager. Therefore, let’s delve into the process of running your Java apps as systemd services in Ubuntu, simplifying management and ensuring robust automatic restarts. Imagine the all-too-familiar scenario:…
Tumblr media
View On WordPress
0 notes
girishgaurav · 3 months ago
Text
Beyond Tables: Diving into the NoSQL World with MongoDB
The digital realm is in perpetual motion, and consequently, traditional relational databases often struggle to keep pace with the demands of modern applications. Therefore, if you’re building dynamic, scalable applications that grapple with diverse and rapidly evolving data, then it’s time to explore the world of NoSQL, where MongoDB provides a compelling and approachable entry…
Tumblr media
View On WordPress
0 notes
girishgaurav · 9 years ago
Text
Persist/Share tomcat session state between multiple instances
Persist/Share tomcat session state between multiple instances
In this article, I am going to explain how can you persist/share tomcat session state between multiple instances, and improve your site performance.
Persisting your session state outside of the tomcat servers is a very common and recommended configuration for large scale websites. This is usually done in pursuit of an architecture style called Shared Nothing.
In my post configuring multiple…
View On WordPress
0 notes
girishgaurav · 10 years ago
Text
Replication aware JDBC connection in java and MySQL
Replication aware JDBC connection in java and MySQL
Hi,
recently I was reviewing the code a project which was having some database issues, while the review I found that the project environment was setup with the Mysql with one master node and two slave node, and I was surprised that in the code they have used the default JDBC driver for database connectivity which actually uses on single node for all read/write operations.
When asked to developer…
View On WordPress
0 notes
girishgaurav · 10 years ago
Link
0 notes
girishgaurav · 10 years ago
Text
Helpful bash aliases for any Unix/Linux user
Helpful bash aliases for any Unix/Linux user
Aliases can be very helpful for any linux user, and after writing my last post “How to create custom command in Unix/Linux” I want to share these helpful bash aliases for any unix/linux user.
List in long format
alias ll=’ls -l’
Clear the screen
alias c=’clear’
Clear the history and screen
alias hcl=’history -c; clear’
use Bye to exit
alias bye=’exit’
Some change directory options
alias ..=’cd ..’
View On WordPress
0 notes
girishgaurav · 10 years ago
Text
How to create custom commands in Unix/Linux
How to create custom commands in Unix/Linux
Few days ago one of my friend told me that the work on linux is so difficult, because he didn’t remember the complex commands of linux and every time when he want to do some debugging on their linux server he always need to google some commands first, so I’ve decided to write this post “How to create custom commands in Unix/Linux”.
There are many ways to do this, I’ve explained some of the…
View On WordPress
0 notes
girishgaurav · 11 years ago
Text
How to enable garbage collection logging (GC logs) in Apache tomcat
In this article I’ll provide information about how to enable garbage collection logging (GC logs) in Apache tomcat.
GC logs are very important when you are debugging an application. GC logs helps to analyse how your program uses the memory.
GC logs also…
View Post
0 notes