Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Fred Muhlenberg

Ranch Hand
+ Follow
since Jan 08, 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 Fred Muhlenberg

What are some current hiring practices that traditional models follow that agile hiring addresses and improves?
7 years ago
From your intro, R appears to run in its own shell, much like Matlab (or tk/tcl). I'm interested in applying this to a web environment.
Are there ways to access R directly from other programs, eg Java?
Or, would I need to set up a R server (alluded to in a previous post)?
Does you book address or touch upon either of these situations?

-Fred
7 years ago
What is the range of programming language one can use to develop apps on the Android?
Is there automated memory management available?
What about event notification?
What is the user interface specification?
7 years ago
Is there a significant investment to be made in people/training/time?
7 years ago

What projects are a good fit for a portal environment?
What projects are not?
7 years ago
What happens to your running app when the iPad/iPhone is turned off or suspended in the background such as when the phone rings?
Are there special considerations for the app to continue from where it left off?

-Fred
7 years ago
iOS
You can use the JVM command for verbose GC: -verbose:gc
This will output (to standard out) ongoing garbage collection (memory) information with a timestamp so you can get a profile of what memory is being reclaimed and when.

There are some undocumented -XX JVM options available that can help.

See: http://java.sun.com/j2se/1.4.2/reference/whitepapers
7 years ago
What pitfalls, if any, have you noticed that new developers for the iPhone/iPad encounter?
What do the new developers get wrong because of baggage they bring from other languages and development environments?
What is quirky about iPhone/iPad development?

Just curious (and I want a chance for a free book )
-fm
7 years ago
iOS
When you store User defined objects in a hashmap (or any collection for that matter), you need to implement the equals() and hashMap() methods. the default implementations of these methods (from java.lang.Object) is generally not sufficient

-Fred.
7 years ago
An interesting technique. I never knew.



I'd set the property "length" value to be equal to your database column length definition.

In Oracle, you have to specify your VARCHAR2 length at creation time.

-Fred

So is fetching complete entities all the time when only certain scalar values are required.



Being a novice with Hibernate, what do you do to address this?
Do you create abridged classes that contain only your pertinent values?

-Fred

Do you have recipes to address multiple mappings (views) of a class for persistence?
At the very least, there will be some performance degradation. How much depends on implementation. Implement poorly and bad things happen.

However, balancing the loss of performance (however minor) is the increase in maintainability of your software.
You aren't spending countless hours developing and testing a home-grown solution.
The folks who developed Hibernate have already addressed (and mitigated) many if not almost all problems any home-grown solution seeks to address.

Plus, Hibernate is an accepted standard, well understood by the industry. You can hire engineers with expertise in Hibernate. With a home-grown solution, you can't.

-FM

To reduce the number of bugs, (automated) unit testing is advised.

Given the rise of code coverage tools, when testing what, in your opinion, is an appropriate code coverage percentage for model, view, and controller code?

-Fred

8 years ago