Which is not allowed in EJB programming ?

C

Chris Uppal

gk said:
If you think this is a home work ...then its very unfortunate about
your judicious capacity.

You should share the blame here. The /only/ thing about your post that
wouldn't make any and all sensible observers assume that you were a homework
cheat was that you have asked other questions here which weren't homework. So
if a person doesn't happen to recognise your name, and it seems that some
people didn't, then they /have/ so assume that you are attempting to cheat --
since your post had all the signs of it.

As a piece of advice: if you find yourself wanting to post some sort of puzzle
or exam-style question that you've found on the Web (or elsewhere), you have to
tell people that, tell them where you found it, and explain why you would be
interested to here what other people have to say. Without that, you will be
assumed to be a cheat every time.

You can also help by suggesting your own answer(s) to the questions first, and
give your reasons. That's just normal politeness (if you are going to start a
discussion then you have to talk too !) As it happens, that's good advice for
people wanting help with homework too -- but that's not relevant here ;-)

FWIW, all three of (a), (b), and (c) sound dangerous to me, unless they are
happening on threads the EJB container doesn't know about. But then, I know
very little about EJB...

-- chris
 
D

Daniel Dyer

FWIW, all three of (a), (b), and (c) sound dangerous to me, unless they
are
happening on threads the EJB container doesn't know about. But then, I
know
very little about EJB...

The problem is that EJBs are distributed objects. Generally you don't
need to know on which node in the cluster the bean resides. Threads and
sockets are inherently tied to a single node. You can't, for example,
have a bean listen on a socket and expect it still to work when the bean
gets moved to another node. Transient fields on the other hand are fairly
harmless, so long as you don't store anything critical in them (because
you will lose it when the bean gets moved around).

Dan.
 
J

Jeffrey Schwab

Thomas said:
I'll make random statements if I feel like it.

Right on! Here are some pseudo-random statements from the top of my head.

The garblebok simply could not grok the outcomes.

Only one in seven stimuli cause ridicule.

Even better, here's some Markov text I generated from Pride & Prejudice:

It is a truth universally acknowledged, that a single man in
possession of a most valuable living, had it pleased the
gentleman we were speaking at all. Sir William could not have
happened. But it is very pretty; but I thought I might as well
inquire," replied she, "why with so evident a desire of
offending and insulting me, you chose to tell me that before?
If I had known as much this morning I certainly would not marry
Lydia if he had been able to reason away, was such a succession
of rain as prevented their walking to Meryton."

Here's another one:

"She is so fond of Mrs. Forster," said she, "it is very hard to
think that his visit to Rosings was to end on the day after the
next--and, a still greater, that in less than a very smart
bonnet indeed, or a really new muslin in a shop window, could
recall them.
> You are free to ignore them.

Well, sort of. I ignore spam email, too, but it's still an annoying
waste of time. :)

GK: I don't think people really mind helping you with your homework, but
posting an apparently asinine question without any context is perceived
as rude.
 
J

Jussi Piitulainen

gk writes:

....
By The way , who is anita ?
....

I have no idea. She had posted her answer on a web page
that Google found when given our subject line to search
for. The answer seemed right to me, after reading the
other page that actually explained things.
 
T

Tor Iver Wilhelmsen

Furious George said:
(d) asking other people to do your homework

Alternate:

(d) Post a question in September that looks suspiciously like a
homework assignment even though it isn't
 
A

Andrew Thompson

gk wrote:
....
I am proving myself that i am honest

Does this* also prove that you (finallly) understand
both top-posting and why it is not welcome?

* The first time I have ever observed a reply from you, that
was not top-posted.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top