Trevor Butler

Greenhorn
+ Follow
since Sep 29, 2006
Merit badge: grant badges
For More
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Trevor Butler

Yakov,

Thank you very much for your response.  I will check out Angular CLI soon.

Regards,
Trevor
Yakov, Anton,

I have read the first few chapters of the MEAP version of your book "Angular 2 Development with TypeScript", and also many of your responses here on Java Ranch. I see that you mention Angular CLI a lot, which I have heard of but have not used (yet).  A colleague is using Angular Seed (https://mgechev.github.io/angular-seed/) in one of his projects, and I have taken a look at that "framework" (not sure what to call it).  Can you please elaborate on what makes Angular CLI useful, and compare it to Angular Seed?  Are these competing or complimentary?

Thanks,
Trevor
Scott,

Hello again - it's Trevor Butler from SAS. I enjoyed your last class here on Java 5, and at the end, you brought up Groovy and gave us an introduction.

I recently had the need to perform a search and replace on a text file to automate some testing I am doing, so I loaded up the Groovy jar and got to work. In combing through the codehaus site and a Groovy book a colleague had, I was fascinated by closures. Coming from Java, most of the Groovy language made sense either as a simpler syntax or shorthand. However, closures were different.

I have never used any other language that had closures, and it took me a while to get the hang of them. I still am not entirely comfortable with them beyond basic for-each type looping scenarios.

Since I found closures to require a paradigm shift in thinking, I am guessing other folks coming from Java and other static OO languages might feel the same.

Question: How would you describe closures to a person such as myself who comes from a Java / static OO / procedural language world in such a way that they can grasp the concept?

Thanks,
Trevor
16 years ago

There is an easy solution. Put log4j.jar (1.2.13 at time of writing, with JBoss 4.04 release) in your WEB-INF/lib, or for an ear APP-INF/lib.



Hey,

I just tried your suggestion above, and it does eliminate the "invalid console appender config" problem. However, it creates tons of failures when my webapp (axis2) loads. Since I have no control over the Axis2 application, this is not a viable solution for me, but I thought I would try it just to get some testing done.

My question is - do you (or others) also get errors like these? Are you just ignoring them?

Here are the JBoss errors I see:

17 years ago