Gary Moncrief

Greenhorn
+ Follow
since Jul 09, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Gary Moncrief

Warning... Enterprise Java Newbie:

Basic Application Components:

1) Core component would be a continuous data processor updating internal caches and using business logic to generate "events". These "events" are cached as well as persisted in a database.

2) Web Service to manipulate the processor configuration in real-time (without the processor code having to hit a config DB periodically)

3) Web Service or JMS Queue to serve up generated events to other subscribers

4) Web Client for reporting (cache contents/database) and configuration (calls the config web service)


I'm going to run this on Glassfish, using NetBeans 7.0.

My question resides primarily with item 1 and what it will be in a Java EE environment, running on Glassfish. Would it be a Singleton Session bean?

Thanks,
Gary


I originally created a web service client through net beans 5.0. When calling the webservice with this client, dates are returned in GMT. After running the wsdl2java utility and using an Axis Web Service Client, dates returned from the webservice are set as EST, even though the date returned is still GMT. Any ideas?
18 years ago

Originally posted by Roger Chung-Wee:

You say that lockup happens when instantiating InitialContext. How do you know that this is the cause?



- From debug printouts before and after instantiating the InitialContext
- I did not see anything in the logs

Originally posted by Roger Chung-Wee:
Is there a firewall between the client and the EJB server?



No firewall. Will the Application Server lock up if too many EJB objects have been created? I think my problem might be related to that??
I am running an EJB on a Sun Java System Application Server (8.0.0_01)

I have an EJB that runs on several servers retrieving data from a historian database. The EJB works great... most of the time. But once in a while the client accessing one of these EJB's locks up indefinitely. I have to restart the EJB Server to unlock the client.


Here is the portion of my code that connects to the EJB. When the lockups ocurr, its at: Context ctx_server = new InitialContext(env);





What is causing this hangup, and how can I set a timeout? Thank you for the help with this ever more painful problem.
[ March 20, 2006: Message edited by: Gary Moncrief ]
I am getting the following error:

/summary.jsp:1: com.caucho.xml.XmlParseException: stream:229: attribute `none' expects value at `"'. XML requires attributes to have explicit values.

This is the line of code on the jsp:

<c:if test='${groupRow.Filter1 != null && groupRow.Filter1 != "none" && groupRow.Filter1 != ""}'>

<PI:Filter tag="${groupRow.Filter1}" lowerLimit="${groupRow.Filter1LowerLimit}" upperLimit="${groupRow.Filter1UpperLimit}" />

</c:if>

Works great in tomcat, not in resin, whats the problem?
20 years ago
I have an application that will need an hourly forecast. I can't seem to find anything out there yet for this. Any ideas?
20 years ago
I just finished reading the whole sybex book. I thought it was OK, better than reading a whole lot of different books. I did notice quite a few problems, but I wasn't disgusted by it I just ordered the Manning book mentioned in this thread. I will compare the two.
Has anyone checked these out yet? Specifically #6 and #11. I think the text does not match the correct answers (atleast within chapter 3).
Question #6: From page 101
Question #11: page 106
Just curious to see if anyone else has seen this.
[ July 13, 2002: Message edited by: Gary Moncrief ]