Java crash course #7: A few important points

Before i dig deeper into Java, i need to explain a few more things that i think have been underestimated before or have not been metnioned at all. There are many key concepts that i am surely missing in this series but this is why it’s called a “crash...

How to access bindings from Java code in ADF

Maybe it’s me stupid, but I was looking for this for quite long and finally figured out how to. So I thought it could save someone’s time too. Say we have a JSPX page bound to a ViewObject. Also there’s a backing bean for this page. What we want is...

Find MAC address using Java

Recently i wanted to get the MAC addresses of the computer i was working from within my Java program. I started a small quest and all over there was this tip “this is system dependent so you need to make system calls”. Somewhere around there i found a...

Java XOR Encryption

A few months ago (see related posts) i released a small package for a XOR encryption in C. Now, here i am with an even smaller program for XOR encryption in Java. As expected, in Java it was way easier to implement it than C. No pointer loses, no “segmentation...

Java crash course #5: Overloading vs Overriding

On the previous articles we mentioned both overloading and overriding but we didn’t pay sufficient attention to them. Those two meanings are among the most important ones in Object Oriented programming and design. It’s not a matter of usage it’s a...