Tags » Java

Exception handling in Java

If we cast a specific exception to RuntimeException and throw it, then we are still able to catch the specific exception we just thrown and it won’t mess up with what exception we are catching. 129 more words


Your Java version is insecure

I have recently been assigned an issue to investigate, detailing that a version of Java we are wanting to rollout to the estate is throwing up the following dialog box (below). 485 more words


Playing with Pictures.

I take a million pictures  (Pictures)  or so of my cats and on my phone I got about 6 or so photo editing programs.   38 more words


Setting HTTP Headers in Java Server Faces (JSF)

In my last post  I discussed using HTTP headers to control browser caching of sensitive data. The post can be found here. The examples provided in that post were all ASP.Net and so I thought I’d cover how to explicitly set your HTTP Response headers when you are using the Java JSF framework. 548 more words

Web Development

How to get to OnePlus One MTP working on Ubuntu!

Hi guys! few days back i bought OnePlus One so time to transfer my data from old device to this one has really come. But as i use Ubuntu OS and when i connect it with my laptop, it didn’t work. 180 more words


How to configure Apache Flume agent with Kafka Sink

Flume Background

Apache Flume is a distributed, reliable, and available system for efficiently collecting, aggregating and moving large amounts of log data from many different sources to a centralized data store. 

289 more words

Tugas Kuliah : Belajar Membuat Segitiga Descending dengan Iterasi For di Java

Tugas kuliah kali ini bertujuan untuk memahami cara menggunakan iterasi for untuk membuat tampilan segitiga siku-siku dan belajar mengimplementasikannya kedalam kode program. Untuk menunjang dalam memahami hal ini, tentu kita harus mengimplementasikannya kedalam kode program. 366 more words