guowei zhang

+ Follow
since May 26, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by guowei zhang

this reminds me i need try it hard to obfusticate my code;-),
there are many reasons to decompile java class files, but
i believe most of the effors is not to format the file,
currently one of tool i use is yguard,which is pretty good,
what i am trying to say is, even though you can decompile
java classes, but a good obfusticator will make the
decompiled code useless or even impossible to decompile.
as part of my working experience, i do both decompile
and obfustication of java classes, somestimes the source
code is not there , for example, sun's audio device code
is compiled classes, and if you want to fix some of the
bug it contains, you have to decompile it and fix the bug,
and then compile it into the application, then do
obfustication, is it that interesting???
16 years ago
who should call the shot, experienced midwife or less experienced MD, i think midwife will be the winer if IT manager make the decision,this could not happen today in real world,since medical industry is mature enough, but not IT industry,where as long as one is lucky enough everything is possible. my former company hire
someone from poland whose has only higher school degree, claim has sixteen years of experience( he count his school project experience when he is 16) and sounds like know everything Database,CGI,java, c( by showing us he can compile netscape source),....but he constantly made mistake when dealing with simple boolean logic, as long not, and , or comes together, he
need to argue with other for hours after other
point out his logic error, but that doesn't prevent him from talking about physics, to show
that his real interest is not computer, which is not challenging enough. for those techies, his trick doesn't work, but manager has no from hard core computer science backgroud, they both hate unix, and move everthing to window. but they like java, so when the manager is promoted to VP, the polish guy acts like a manager. I would say, miracle happen to midwife, this is a typical example of how IT industry head a wrong direction, hopeful,midwife and MD guy will find the proper position where they belong.
17 years ago
I have MS degree in CS,over five years
experience in states ( mostly in java)
got three certifications:SCJP,SCWCD,SCEA
I just got green card, hunting for
job for more than five months, without
a single direct interview, I am wondering
what I can do next, SCJD? no! i have
real word exprience of developing very
complex java application,heavily multithread,
(I have dig real deep into thread,all the
thread books, all the javaworld thread
articales) I don't even have a chance
to talk with someone on java,btw, getting
SCJD is not hard for me. i think it just
will not help me landing a new job. I felt
shamed that I take all the couse on OS,
AI,database,network, especially compilers
advanced course in school, and even can
design my own language) and now it is so
hard to get a position as a coder.

people can quantify human's IQ, systemized
cooking food into steps,school choose its
students based on GPA,SAT,GRE. being a doctor
means MD degree and license and certification...
but the process of hiring a programer is drastically different, experience is everything,
but how to compare it, quantify it, verify it,
ironically, programer are required to deal with
"if then else" every day. so i can say, the
process of hireing a programmer is really hard
to predict. and understanding that, hope I
know what need to do next.
17 years ago
the reason i talk much about mark's study case
is mark is the guy who is the director of the
seca,he at some degree is the one who tell you
what sun is expecting about seca part2 solution,
at least two of the ranchers here mention that
they attended a conference last year by mark
( fastpath for seca) they follow the path
and guideline given on the conference and
one guy score 99%(herve attia),the other 91%(Kod Tan), and herve is comments on the book is it
is just a part of the what is given on the
conference, for him, seems the book does't has
anything new. personally,I know that this is
just SCEA solution,and to pass it with a good score is now what i want, so follow some
gudieline, and don't think in a broad sense,
since if look it in a large context, EJB is is itself questionble in terms of design, basically it is not OOP,it is functional( sessionBean) and data( entity bean) is seperated from Bean,anyway, that is off the topic. the reason for mark's seperate frontcontrollers, I think maybe is out of the consideration of decoupling between component and package.
I agree with what you said, but the frontController hirerachy is applicable to
"large" ejb application, application such
as PetStore is a sample implementation,which
is of medium size, and it uses MainServlet
as the ONLY frontcontroller,so I think when
I am considering the frontController for the
SCEA part2, similar frontController could be
adopted as a design strategy,I am sort of
take it for granted that such usage is sound
till i think of the Marke Cade study case,
the project is of the same size and nature as petstore and scea part2's,but I saw very
different design of FrontController:
instead of one simple FrontController servlet, three are used: CustomerController, OrderController and CatalogController, it is obvious that your theory seems can't explain its usage, no specific different security poliyies
are required for different parts of the
application,it is not large, so I am now wondering what is the typical design strategy for FrontController for a typical estore application.
thanks a lot
when frontcontroller is used, one of the
benifits is single point of contact to
simplify certain things such as enforing a
uniform security policy,but i saw someone
use multiple frontControllers within
a single ejb application, don't know what
the rational behind it,i think anyone
that study mark cade's case study will
notice such usage, any comments?
thanks a lot
Hi! Folks,
the class diagram for the case study doesn't
include any enityBean,only session beans,
does that mean some of the classes in the
the diagram just implement the interface
of the entity bean? and even in component
diagram, not a single entitybean is included!
I am confused???
I think when you make a servlet implement a
singleThreadModel interface, container will
pool the servlet instances, you don't need
to care about synchronization issue at the
cost of performance, which is not the case
when stateless Session Bean do pooling,
the pool boost performance and btw,the pool
size of stateless Session bean is specified in the vender specific configuration
Someone score 100% in EJB part of part I by
just reading the tutorial, to me, It helps
but not enough.
In PetStore1.1.2,when I noticed that Customer
is moduled as SessionBean,I am a bit surprised,
but when Account is moduled as a EntityBean,
with Order also EnityBean, it make sense to
module Customer as SessionBean, which represent
a session for client to make online order,
so Customer sessionbean's methods includes
createOrder(),creatAccount(), getOrderDetails()
and getOrderDetails(), which is very typical of
a customers online activity, i think it is very
easy for people to module Cusomter as a EnityBean
,at least for me, I will try that way first. and
I think petstore is writen by serval people from
sun, the atuher for the Customer bean I think
is different guy from ShoppingClientController
SessionBean's, and in the later class( sccEjb), there is one line comment which is like this
/** @return the Customer entity bean for this user. */
public Customer getCustomer() throws EStoreAppException {
so I think the author made a mistake
the question is how to avoid it, any guideline?.
I finally have lastest version of rose downloaded,
and now both togetherJ and rose is working,I previously use JVision,I search the javaranch,
people here use rose and togetherJ,so I think
it is better use them for to the
visio,I am not familiar with it and since you
said, it need extra work, i would rather not
use it for this project. thank you Vijay for
your input.

I have installed .Net on my machine which
comes with viso prefessional2002 with
enterprise modeling tools, is this good
enough for partII, as to the new rational
rose eval version, I keep trying to download
without succes with a peer reset error,
I try to download from lan and from dialup,bu the
same thing, anyone have the same experience?
and together is slow to send me a eval license
i am still waiting after request for one by
email three days ago, it is anoying, btw rational
is fast in sending me a eval key.seems even just
to have a workable uml tools cost me for more than
a week, real headache.
I think I spent too much time on security and
protocools,cos the exam really require very
basic knowledge on these topics, and same is
true for messaging.but on the other hand to
have a indepth study of these topics is a
very good experience, i think as an architect,
he needs to know these things, however,for the exam,avoid being overprepared.
Hi Everybody,
I passed the exam with 91%,I found that the
exam is not so easy, larg portion of questions
are scenarios which are lengthy, they really
slow down my reading speed , since the time
is 75 minutes, I have only 10 minutes left
when I finished the first round and then
checked thosed marked ones, until the last
minute, I am even not sure how well i did on
the exam, and it turns out the score is ok.
i have around two months time to prepare
for the exam and this newsgroup definitely
help me from the two month ago when i decide
to take the test, now I am moving onto
partII, like two month ago, better do some research first. for the book i read for the first part is Monson's EJB,Gof's pattern,Mark Cade's study preparation and other online links.