No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am currently working on a web based application which requires database access in order to execute various sql statements. I can take these approaches: 1) Create a stateless DAO, i.e everything is static. Pros: I do not need to worry about thread safety / performance. Cons: Difficult to switch … |
|
Hello, I'd like to get people's opinion on the below. Let's say we want to create a constant mapping between int & String within our application. An obvious solution is to create an Enum with a getter() which returns the String based on a given int. However, we could also … |
|
Hello, I'm facing an annoying problem where a button's border colour changes when I click on the text fields in the same form. I could use onfocus="blur();" on the text fields to resolve this, but then they will lose focus when selected. So, I'm trying to find out where I … |