In Declarations and Access Controls Part 2, I discussed what it means to be a legal identifier and what is widely accepted in practice. Again, remember that an identifier does not need to conform to conventions to be legal. Take a quick look of the rules here.
Class Declaration and Access Modifiers
In creating a Java application you will mostly create classes and interfaces and how you write them will heavily affect your whole application. In this part I will discuss how we declare classes and how you can modify access to them.
Friday, November 6, 2009
SCJP 1.6 Study Guide: Declarations and Access Controls Part 3
Thursday, November 5, 2009
SCJP 1.6 Study Guide: Declarations and Access Controls Part 2
This is Part 2 of Declarations and Access Controls Section. Part 1 was just a refresher if you have been away from Java for long. I will discuss legal identifiers, keywords, Sun/Java naming conventions, and the JavaBean naming convention.
Wednesday, November 4, 2009
SCJP 1.6 Study Guide: Declarations and Access Controls Part 1
Objectives:
- Declare classes and interfaces (Normal class, abstract class and interface)
- Use primitives, arrays, enums and legal identifiers
- Use static methods, JavaBeans naming and var-args
SCJP 6 Study Guide
Since I'm reviewing for the SCJP 1.6 Exam (Exam 310-065) I thought writing about the topics I study will help me remember them better. So this series of posts is basically based on what I'll read from the SCJP Sun® Certified Programmer for Java™ 6 Study Guide book by Kathy Sierra and Bert Bates and things I pick up from other sources which I will mention accordingly.
This series can also be a reference for people starting to learn Java but I recommend checking Sun's Java Tutorials.
This series can also be a reference for people starting to learn Java but I recommend checking Sun's Java Tutorials.
Friday, October 30, 2009
Slow MySQL Remote Connection
If your application is connecting very slow to a remote MySQL database you might want to try adding this line to the my.ini file of the server:
skip-name-resolve
skip-name-resolve
Tuesday, October 13, 2009
Installing an Epson TM U220 using USB in Windows XP
Today I was tasked to go to one of our clients in Makati to install a receipt printer (Epson TM U220) and use a printer port-usb connector because the CPU there does not have any parallel port (I think almost all modern CPUs do not have parallel ports already, at least my laptop doesn't have one).
I was looking for the CD installer of the printer but could not find it. Fortunately, after 30 minutes of sniffing the web I was able to find one. So for those who need it go to http://install.westgatesoftware.com/drivers/PRINTERS/Epson/TM-T90/ and download APD304e.exe or just search for that executable file using Google. Just follow these steps to install the driver:
I was looking for the CD installer of the printer but could not find it. Fortunately, after 30 minutes of sniffing the web I was able to find one. So for those who need it go to http://install.westgatesoftware.com/drivers/PRINTERS/Epson/TM-T90/ and download APD304e.exe or just search for that executable file using Google. Just follow these steps to install the driver:
Labels:
epson,
epson tm 220,
epson tm 220 usb,
hardware,
receipt printer
Monday, October 12, 2009
Blogging at Blogger
Hi all! I'm Bob Santos and this blog will be my personal repository of things I find worth writing. Topics may range from programming to gaming, from music to movies and from humor to politics.
Subscribe to:
Posts (Atom)