Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Hank GU

Ranch Hand
+ Follow
since Jan 11, 2004
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 Hank GU

Hi All,

Class A extends BaseCls
Class B extends BaseCls

Class[] myArr = {A.class, B.class};

Eclipse promotes me that I can use generic type in Class i.e. Class<T>.

So how to create the generic type?
I tried Class<BaseCls>[] and Class<? extends BaseCls>[], both are not correct.

any1 can advise? thanks a lot!
13 years ago

Originally posted by Ramesh Nagappan:



Hank,

Thanks for your comments about the book.

To give a quick one line explanantion... "Our book is not just about explaining Java Security Mechanisms" more than that...the core objective of the book is to promote "Patterns-driven Security Design and Best practices" for Java architects and developers."

We introduced 23 Security Patterns and 101 best practices to help implementing security...explaining how to proactively identify risks and vulnerabilities in J2EE applications and Web services.

At the outset, this book will serve as your "one-stop" guide to learning and implementing security using Java.

The reason for using "The Great Wall" in the cover, it is a pictorial representation of an Ancient Security Pattern.

/Ramesh



Thanks a lot for your nice explaination, Ramesh.
14 years ago
Hi Chris and Ramesh,

First of all, Thanks a lot for your great work. Through I haven�t got chance to read the book, I checked the book information in Amazon.com, and Free Sample in http://www.coresecuritypatterns.com. It really inspired me.

My question is the following:

Almost all books in Java/J2EE/J2ME/WS has its own chapters on Security, some also give their design concerns. How does your book differ from a gallery of those chapters?

And also a tricky question :

Why do you choose the China Great Wall as the book image? any special reason? The only guess I can give is about the Chinese Wall.
14 years ago
Hi Chris and Ramesh,

First of all, Thanks a lot for your great work. Through I haven�t got chance to read the book, I checked the book information in Amazon.com, and Free Sample in http://www.coresecuritypatterns.com. It really inspired me.

My question is the following:

Almost all books in Java/J2EE/J2ME/WS has its own chapters on Security, some also give their design concerns. How does your book differ from a gallery of those chapters?

And also a tricky question :

Why do you choose the China Great Wall as the book image? any special reason? The only guess I can give is about the Chinese Wall.
14 years ago
see the following line from Spring

Field interception arguably violates OO encapsulation. We don't believe it is wise in application development. If you require field interception, consider using AspectJ.

My poor English can't understand what is Field interception. Any1 can explain or give some example? Thanks a lot.
Hi Waseem, i think that javaranch is mainly for java related issues. (it is why nobody here discuss microsoft ). you make checkhttp://www.cccure.org/ for CISA forum.
if i am not wrong, it is 3-steps certification. (Similar to SCEA).

Only the first exam, Fundamental SOA, has been released when last earlier Dec.

Originally posted by Ilja Preuss:
Some people prefer to always use the this prefix because they find it be more readable. Often those are people coming from other languages like Smalltalk, which unlike Java always require such a prefix.



I am one of the "some people". in industry, readibility is really important when the code can be maintained by many people.

For most of the IDE with getter/setter generation function, "this" is always auto-assigned.

I also feel that it looks more OO when "this" got prefixed for class level variables and methods.

Originally posted by Hiro Nakagawa:
I know IBM is offering all WebSphere certifications tests and some Rational exams (255,256 and 257) for free for users registered to some Websphere usergroups.
See the relation of usergroups that are participating of the promotion at www.ibm.com/certify



the only problem is that the free exams only offer at the certain time in the user group city.

I don't know about others, but I won't get up at 7am in a sunday morning, and drive 6 hours to another city just for a free IBM exam.


you may use java.io.LineNumberReader if u need track line numbers.

Merry X'mas~~~~
14 years ago

Originally posted by Ko Ko Naing:


Here they are!

[ August 24, 2005: Message edited by: Ko Ko Naing ]



Thanks Ko Ko for providing the link.
Thanks Sathya for the great notes.

Originally posted by Surasak Leenapongpanit:


You can find it on http://scmad.gayanb.com/scmad-study-notes.php.



Hi Surasak,
I refer to Eduardo Rodrigues on the website. I have downloaded the pdf file (105K), but I can't open it. my acrobat 7.0 said that the file is damaged. any1 know why?

Originally posted by Ko Ko Naing:


Nope, it contains a very short revision note to have a look at that just before the exam. I can say that the exam notes prepared by one of the co-authors of the software, Sathya, are even more complete than that Quick Revision Notes...

Hope it helps...



Hi Ko Ko or Sathya,

May I know where is Sathya's notes? is it free?

and for the new version, i believe that there should be some changes comapring to previous version, at least some mirror errors/typos should be corrected.

Thanks