I'm finding the switch from PFD1 to PFD2 extremely painful. The use of 
remote interfaces and CMR fields, of course, permeates my code. I do have 
code that previously used remote interface of an entity bean from a 
servelt. I realize in the ideal design world there would be a session bean 
in between, but it isn't that way now.

Since I can't use CMR fields from the remote interface, I'm converting to 
local interface from the servlet. I'll probably add a session bean in the 
mix soon, but for now, I have a compelling need to make this code work, not 
to make it an ideal design project.

So yes, lots of work and pain and little gain. I'll probably appreciate the 
local interfaces more in the future, but for now, its irritating.

Jim

--On Wednesday, August 08, 2001 4:25 PM +0200 Vincent Harcq 
<[EMAIL PROTECTED]> wrote:

>> |Using local interfaces from web would be stupid I agree.
>>
>> I am not sure that is true, nor what he says.
>>
>> In fact we already use "local" stuff in the optimized version.  I guess
>> it wouldn't be portable that's all and would limit your deployment
>> option. But
>> since we automate that already in the current base it is kind of a moot
>> point.  All the spec has bought us in this case is "portability" but the
>> feature is the same :( -> mucho code and little gain
>
> Yes, that's what I thought before beginning my big surgery, and it
> verifies now : little/no gain after migrating a lot to local interfaces.
>
> Anyway it makes things _clearer_ with session bean facade and (cmp 1.1)
> cmp relationships.
>
> Sorry but I disagree (with you-agree with Dan) on the web part, when
> portability comes in priority before performance, when I want to be able
> to have a web tier separate from the ejb tier.
> Even if JBoss handle everything in one VM, I can not make assumption on
> how the deployment will be made.
> I hope you will agree that saying "performance ==> deployment ==>
> portability" is not always a good message.  "portability ==> deployment
> ==> performance" can be an option too.
>
>
>> marcf
>
> Vincent
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development



********************************************
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I -
I took the one less traveled by,
And that has made all the difference.

- Robert Frost, 1916


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to