RE: [U2] UniObjects in Web App [ad]

2009-03-18 Thread Symeon Breen
Or use the u2 native connection pooling.



-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Tony G
Sent: 18 March 2009 00:14
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects in Web App [ad]

From: D Averch
 We would not recommend to anyone that you try to write 
 your own connection manager.  We been there and done 
 that.  However, that is what you have to do in order 
 to guarantee that you don't step on your connections.

Well, you don't need to write a connection manager.  You can
use one that already exists at a very reasonable price.  As I've
mentioned many times in my blog, you can use mv.NET connections
to U2 from a variety of clients and middle-tiers, including PHP,
Java, Adobe Flex, old ASP (not .NET), devices, and of course
.NET.

See how mv.NET manages connections in the video on this page:
nospamNebula-RnD.com/products/gallery.htm
Feel free to email any questions, or post them to our forum.

HTH
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
nospamNebula-RnD.com/blog/
nospamNebula-RnD.com/forum/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-18 Thread Brian Leach
All

Just remember that whatever you use, you will need to stay the right side of
the IBM licensing policy.

If you haven't looked at it for some time, read up on the section of the
licence agreement about connection pooling.

Brian 

 -Original Message-
 From: owner-u2-us...@listserver.u2ug.org 
 [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen
 Sent: 18 March 2009 09:40
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] UniObjects in Web App [ad]
 
 Or use the u2 native connection pooling.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-17 Thread D Averch
Kathy,

We wrote our own middleware called U2WebLink that uses UniObjects for Java.
The logging capability of UniObjects is not very good.  We added an open
source package called Apache log4j to our middleware to handle logging for
UOJ.  UOJ is not thread safe and the connection software you write must take
that into account.

We would not recommend to anyone that you try to write your own connection
manager.  We been there and done that.  However, that is what you have to do
in order to guarantee that you don't step on your connections.

Regards,
Doug

_
Express your personality in color! Preview and select themes for Hotmail..
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_
WL_HM_express_032009#colortheme
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App [ad]

2009-03-17 Thread Tony G
From: D Averch
 We would not recommend to anyone that you try to write 
 your own connection manager.  We been there and done 
 that.  However, that is what you have to do in order 
 to guarantee that you don't step on your connections.

Well, you don't need to write a connection manager.  You can
use one that already exists at a very reasonable price.  As I've
mentioned many times in my blog, you can use mv.NET connections
to U2 from a variety of clients and middle-tiers, including PHP,
Java, Adobe Flex, old ASP (not .NET), devices, and of course
.NET.

See how mv.NET manages connections in the video on this page:
nospamNebula-RnD.com/products/gallery.htm
Feel free to email any questions, or post them to our forum.

HTH
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
nospamNebula-RnD.com/blog/
nospamNebula-RnD.com/forum/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-16 Thread Symeon Breen
In 2006 the latest would have been asp.net and uniobjecs.net - this is still
the latest and recommended path. It certainly works on very busy websites.



-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Kathy_NC
Sent: 16 March 2009 12:26
To: u2-users@listserver.u2ug.org
Subject: [U2] UniObjects in Web App

I wrote a web application using UniObjects and ASP back in 2006.  It has
been
working, but was occasionally giving errors which would be solved by
restarting IIS.  Now that a lot more people are visiting the web pages, the
frequency of the errors has increased to the point that it has become a
major problem.  Last week I read a forum post from a couple of years ago
that UniObjects is not thread safe and that it shouldn't be used on a web
server (I wish I had known that earlier).  I know I'm using an older version
of UniObjects.  Is there a newer version that is thread safe or is there a
way to make UniObjects thread safe?  Or should I be looking at other
products?  If I should be looking at other products, what are your
recommendations?

Thanks,
Kathy

-- 
View this message in context:
http://www.nabble.com/UniObjects-in-Web-App-tp22537003p22537003.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-16 Thread Kathy_NC
We are using classic ASP and UniObjects (not .NET). 

The forum posting I'm referring to is from Jan. 2007 and says the current
version doesn't do too well with .Net - it is not thread safe, which limits
SOME of the things you can do with it (ie don't try using it through a web
server).  Here's the link:
http://212.241.202.162/cms/cmsforum.wsp?action=topicforum=1topic=26
http://212.241.202.162/cms/cmsforum.wsp?action=topicforum=1topic=26 

I know forum posts are not always accurate and the IBM website indicates
that both UniObjects and UniObjects.net are fine for web apps.

FWIW, the error we're getting in IIS is A trappable error occurred in an
external object.  The script cannot continue running.  What's strange is
that even when we see that error, the app sometimes continues working and
other times we have to restart IIS.

I'm trying to figure out if I need to re-write this app using .Net or take
some other approach to solve the issues we're having.  I'm also wondering if
isolating this app into it's own application pool in IIS would make a
difference (I understand that may be a question for an IIS forum).

Thanks for your response.



Symeon Breen wrote:
 
 In 2006 the latest would have been asp.net and uniobjecs.net - this is
 still
 the latest and recommended path. It certainly works on very busy websites.
 
 
 
 -Original Message-
 From: owner-u2-us...@listserver.u2ug.org
 [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Kathy_NC
 Sent: 16 March 2009 12:26
 To: u2-users@listserver.u2ug.org
 Subject: [U2] UniObjects in Web App
 
 I wrote a web application using UniObjects and ASP back in 2006.  It has
 been
 working, but was occasionally giving errors which would be solved by
 restarting IIS.  Now that a lot more people are visiting the web pages,
 the
 frequency of the errors has increased to the point that it has become a
 major problem.  Last week I read a forum post from a couple of years ago
 that UniObjects is not thread safe and that it shouldn't be used on a web
 server (I wish I had known that earlier).  I know I'm using an older
 version
 of UniObjects.  Is there a newer version that is thread safe or is there a
 way to make UniObjects thread safe?  Or should I be looking at other
 products?  If I should be looking at other products, what are your
 recommendations?
 
 Thanks,
 Kathy
 
 -- 
 View this message in context:
 http://www.nabble.com/UniObjects-in-Web-App-tp22537003p22537003.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 

-- 
View this message in context: 
http://www.nabble.com/UniObjects-in-Web-App-tp22537003p22539827.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-16 Thread Symeon Breen
Sorry i have only ever played with uniobjects with ASP and never used it in
anger - i use uniobjects.net - it is correct you should not use the old
uniobjects with .net but use the uniobjects.net api as this is fully managed
code.

However I am quite sure some people on this list do use uniobjects with asp.


Rgds
Symeon.



-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Kathy_NC
Sent: 16 March 2009 14:49
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects in Web App

We are using classic ASP and UniObjects (not .NET). 

The forum posting I'm referring to is from Jan. 2007 and says the current
version doesn't do too well with .Net - it is not thread safe, which limits
SOME of the things you can do with it (ie don't try using it through a web
server).  Here's the link:
http://212.241.202.162/cms/cmsforum.wsp?action=topicforum=1topic=26
http://212.241.202.162/cms/cmsforum.wsp?action=topicforum=1topic=26 

I know forum posts are not always accurate and the IBM website indicates
that both UniObjects and UniObjects.net are fine for web apps.

FWIW, the error we're getting in IIS is A trappable error occurred in an
external object.  The script cannot continue running.  What's strange is
that even when we see that error, the app sometimes continues working and
other times we have to restart IIS.

I'm trying to figure out if I need to re-write this app using .Net or take
some other approach to solve the issues we're having.  I'm also wondering if
isolating this app into it's own application pool in IIS would make a
difference (I understand that may be a question for an IIS forum).

Thanks for your response.



Symeon Breen wrote:
 
 In 2006 the latest would have been asp.net and uniobjecs.net - this is
 still
 the latest and recommended path. It certainly works on very busy websites.
 
 
 
 -Original Message-
 From: owner-u2-us...@listserver.u2ug.org
 [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Kathy_NC
 Sent: 16 March 2009 12:26
 To: u2-users@listserver.u2ug.org
 Subject: [U2] UniObjects in Web App
 
 I wrote a web application using UniObjects and ASP back in 2006.  It has
 been
 working, but was occasionally giving errors which would be solved by
 restarting IIS.  Now that a lot more people are visiting the web pages,
 the
 frequency of the errors has increased to the point that it has become a
 major problem.  Last week I read a forum post from a couple of years ago
 that UniObjects is not thread safe and that it shouldn't be used on a web
 server (I wish I had known that earlier).  I know I'm using an older
 version
 of UniObjects.  Is there a newer version that is thread safe or is there a
 way to make UniObjects thread safe?  Or should I be looking at other
 products?  If I should be looking at other products, what are your
 recommendations?
 
 Thanks,
 Kathy
 
 -- 
 View this message in context:
 http://www.nabble.com/UniObjects-in-Web-App-tp22537003p22537003.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 

-- 
View this message in context:
http://www.nabble.com/UniObjects-in-Web-App-tp22537003p22539827.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects in Web App

2009-03-16 Thread Tony G
For anyone not familiar with this area: You can make use UO.NET
with ASP, though you need to call the .NET client side interface
from a COM wrapper.  That is:
ASPWrapperUO.NETU2

Similarly, you can use the UniObjects COM component from .NET:
.NET ClientWrapperUOU2

Personally I'm more of a purist and prefer either COM or .NET all
the way through.  In real life we're frequently finding our .NET
code called from COM applications like Microsoft Office, or
making use of existing COM DLLs from within our .NET code.  There
are good reasons to use one or the other, and real pains
sometimes in mixing the two.  But what's important here is that
it looks like Kathy believes that changing the communications
components may require completely changing the web GUI.  That is
not correct.  Make the decision about switching from ASP to
ASP.NET on its own merits, and switching UO to UO.NET or other
components on their own merits as well.  .NET isn't just another
technology for its own sake, it fixes a Lot of the problems of
prior technologies.  The more you use .NET all the way through
the better.  But don't feel like you're forced to do a mass
conversion or nothing at all.

Feel free to contact me off-list if that needs clarification.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com



 From: Symeon Breen
 Sorry i have only ever played with uniobjects with ASP 
 and never used it in anger - i use uniobjects.net - it 
 is correct you should not use the old uniobjects with 
 .net but use the uniobjects.net api as this is fully 
 managed code.
 
 However I am quite sure some people on this list do 
 use uniobjects with asp.

 From: Kathy_NC 
  We are using classic ASP and UniObjects (not .NET).
  
  I'm trying to figure out if I need to re-write this 
  app using .Net or take some other approach to solve 
  the issues we're having.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/