Win a copy of Java Challengers this week in the Java in General forum!

shaf maff

Ranch Hand
+ Follow
since Sep 07, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shaf maff

Thanks William. What about writing to a RFID chip ? Is that as easy as reading ?
11 years ago
Hi Guys

Has anyone done any RFID programming with Java ? Know of any good resources for me to read up on ? And any good APIs ?
11 years ago
Can someone provide a brief explanation of the following frameworks/features and an ideal situation where you;d want to use them please:

Enterprise Java Bean (what is the different between an EJB and a 'normal' bean)
Spring
Hibernate/Java Persistance

I have tried reading them up but I cannot find any idea situation where I'd use them.
11 years ago
Hi Guys

I have a static utilities class which holds common methods. I have several static methods which convert strings to longs, and vice versa and returns the value to the requesting method. My question is will this cause a problems if multiple users are making the same request at the same time ? See a snippet of code below:

12 years ago
Yeh you're right, Im doing it backwords. Its for one of my projects.
Hi Guys

I have an application with three layers, the DAO layer, processor layer and front controller layer. Each layer has around 7 classes. Each class explicity declares which DAO or processor it will require in the class attributes section. My question is, will I still need to provide associations between the layers ? The design is already complicated and I fear having to add around another 20+ associations will just make it more confusing.
Hi Guys
I have static utility method which handles the processing of data. I have about 5 classes which use this static class. How do I show in the UML the utility class is static ?
Hi Guys

I have an application which is using a DAO pattern and a Front Controller pattern. The two are linked together with what I call a 'Processor Controller' which stands between the two and processes and sends data back and forth. My question is does anyone know if there is already such a pattern ? Yes if, what is it called ?
Thanks guys
12 years ago
JSP
When you have java code between the <% and %> tags.
12 years ago
JSP
Hi Guys

Why is it better to use JSTL in JSP files instead of declaratives?
12 years ago
JSP
Do you have example code I could go through ?
12 years ago
Thanks bear. Is there anyway I can determine the source of the filter initialisation ? So if I refreshed index.jsp is there anyway the filter can tell me it was that file that triggered it ?
12 years ago
Thanks for the link Paul, a good read.

I have another problem, I am trying to use response.setError() but compiler tells me 'symbol cannot be found'. It looks like its due to the fact that ServletResponse is being used and sendError works with HttpServletResponse. Is there anyway I can fix this ?
12 years ago
Ok, I have updated the following:



Not sure if thats what you meant but I compiled and tried to reload the project but it still doesn't run.
12 years ago