Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!

Aftab Hussain

Greenhorn
+ Follow
since Feb 07, 2002
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 Aftab Hussain

Originally posted by Masoud Kalali:
Hi Aftab
Can you name some of those services ?
I think .net provide all services that j2ee has , meanwhile those services are intended to works with microsoft stuff , and nothing else
for example , messaging, Transaction , security , ws lifecycle , ...
one thing that i did not find its equal in .net is Managed components like EJBs.



Hi Masoud,

I'm talking about all the middleware services you get with an app server e.g. scalability, availability, performance, security, etc. In J2EE an application server provides theses services via EJB technology (managed components).

I can't find anything similiar in the .Net world which really surprises me. I know the .Net framework provides good API calls to handle things like transaction management, etc. But this is not the same as the middleware services you get with an app server via EJB technology. Does Microsoft have any plans to add this support to the .Net framework?? Am I missing something here??

Thanks
Does anyone know if .Net provides the middleware services we get in the J2EE world with an App server??
First of all, I want to thank everyone for there post here. It's helped to reinforce my understanding in EJB.

Chris I'm not sure I understand your point here:

>>"Nearly every Application Server implemented this feature as an object >>pool of Servlet instances for performance reasons... sound familiar?

Meaning object pooling of servlets was considered to be faster as it saves time creating and destroying the object back in the good old days. Don't have much experience with servlets, so I can't say it sounds familiar.

>>The funny part is that SingleThreadedModel has always been considered a >>joke for real application development and the EJB threading model has gone >>largely unquestioned... yet they are actually one and the same.

Ok, meaning EJB doesn't support multi-threading and servlets do.

>>Personally, I think the Servlet threading model of one instance for all >>clients is the best choice to Stateless Session Beans and Message Driven >>Beans. Obviously Stateful Session Beans and Entity Beans would be >>implemented differently...

Whats wrong with using the servlet threading model with stateful beans and entity beans?

No one, has answered my question regarding .Net compared to J2EE. Does .Net provide the middleware services we get in the J2EE world??
I was on course recently about building layered applications with C#. It was interesting comparing J2EE vs .Net. In the .Net world there doesn't appear to be anything similar to an EJB container. Why is this??

My understanding is the EJB spec doesn't enforce the use of containers. It's just the way vendors chose to implement it. Meaning we could just make api calls directly from our EJB components for these services.

EJB containers provide many services including object pooling. When I asked the instructor about object pooling in .Net. He told me it wasn't necessary as creating and destroying objects is very quick via the garbage collection. He didn't see any scalability problems here. It made me wonder why we bother with object pooling. I suspect back in the old days garbage collection wasn't so great and thats the reason we have this in the EJB spec. Is it still necessary with the advances in garbage collection?? Or am I missing something??
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

As theres only 3 months left on the voucher I will accept only �50 each. Thats a 50% saving!!!. If anyone is interested please email me at aittia786@hotmail.com

On receiving payment I will email the voucher number to the luck buyer.

Thanks
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

As theres only 3 months left on the voucher I will accept only �50 each. Thats a 50% saving!!!. If anyone is interested please email me at aittia786@hotmail.com

On receiving payment I will email the voucher number to the luck buyer.

Thanks
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

As theres only 3 months left on the voucher I will accept only �50 each. Thats a 50% saving!!!. If anyone is interested please email me at aittia786@hotmail.com

On receiving payment I will email the voucher number to the luck buyer.

Thanks
15 years ago
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

As theres only 3 months left on the voucher I will accept only �50 each. Thats a 50% saving!!!. If anyone is interested please email me at aittia786@hotmail.com

On receiving payment I will email the voucher number to the luck buyer.

Thanks
15 years ago
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

If anyone is interested I'm open to reasonable offers. On receiving payment I will email the voucher number to the luck buyer.

Thanks
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310
+ Can be used at any Thomson Prometric test centre

If anyone is interested I'm open to reasonable offers. On receiving payment I will email the voucher number to the luck buyer.

Thanks
Guys & Girls,

I purchased 2 Sun exam vouchers my intention was to take the Sun Certified Enterprise Architect Exams. Unfortunately, my plans have changed and therefore I need to sell them. Voucher details:

+ Expires 31st October 2005
+ Normally costs �95 in UK
+ Valid for any sun exam with prefix 310

If anyone is interested I'm open to reasonable offers. On receiving payment I will email the voucher number to the luck buyer.

Thanks
It would also help if you give us name of app server and version.
Sorry Thomas...I have now updated my profile with full name.
I would prefer to use EJB QL, but I think Phil is right. I don't think my current version of jBoss support EJB QL. (I will try it). jBoss 3.0 is EJB 2 compliant. Thanks for link to jBoss site.
Thanks for all the help guys,
Aftab
I'm creating a workflow engine using JBoss 2.4.4 and Oracle 8i. I have created CMP beans for my workflow entities like Workflow, WorkflowEventType, etc. Lets say my primary key fields on entity WorkflowEventType are WorkflowCode and EventCode. But in my code I want to find by workflowcode and eventname(instead of eventcode). How should I do this with CMP?? My EJB book says this is vendor specfic for each App server. But does explain how it is done. With BMP this would be straightforward..you just write JDBC code for each finder.