Some of our developers produced a humorous video on
Grails and uploaded it to YouTube. Sharing it with you all for your
enjoyment: http://www.youtube.com/watch?v=0xNP0JTSN5o
* added the following XPath 2.0 functions: abs(), ends-with(), upper-case(), lower-case() * added support for variable reference * significantly enhanced XPath syntax, checking error reporting (Special thanks to Mark Swanson) * Internal performance tuning
Bug fixes and Code Enhancement
* C version significantly removed warning message, fix memory leak during Xpath expression parsing, * Various bug fies (Special thanks to Jon Roberts, John Zhu, Matej Spiller, Steve Polson, and Romain La Tellier)
I wanted to pass this information on regarding a new mark logic users group. I know some java developers are using XML databases and may be interested in this group.
Please join us for the first MarkLogic users group meeting in Denver (DenMARK)!
This is an opportunity learn more about MarkLogic Server and collaborate with other MarkLogic users. Pizza and Soft drinks will be provided and everyone will be entered into drawings for several giveaways provided by Mark Logic.
This will be a collaborative group sharing methodologies and techniques to get the most out of the native XML database
When:
October 12th 7pm
Location:
Auraria Campus, Tivoli Bldg (900 Walnut St. Denver CO. 80204) Rm 320 Section B - Baerresen Ballroom
MarkLogic Application Services is a new product that allows you to design, develop, and deploy information-centric applications quickly and easily with MarkLogic Server. Made up of high-level APIs and UI tools, Application Services simplifies the way you prototype and build applications. Mark Logic Community Champion, Clark Richey will demonstrate how both developers and non-developers can rapidly prototype search applications using the browser-based Application Builder. He’ll also show how to use the new Search API to extend a prototype and integrate advanced search capabilities into your own applications.
Bio:
Clark has been with Mark Logic for nearly two years and in his role as Community Champion is focused on working with the developer community as an advocate and a direct channel to Mark Logic engineering. Clark has over 10 years experience designing and developing large scale applications in Java, .NET and XQuery (and some smaller scale applications in Ruby). Clark is also an adjunct professor in the Master’s program at Loyola College. Clark holds an M.S. in Computer Science from American University
Questions or need more information? please contact Michael Fagan at software.denver@...
I'm working on a problem where we wanted to create several SLSB through configuration of the ejb-jar.xml only. There are 3 classes: Task and Job and an MDB. A Task contains an attribute that is populated via the @Resource tag (path to a stylesheet) and configured in the ejb-jar.xml. A Job contains a Task. The MDB contains a reference to the Job. For example there can be a CompressionListener which has a reference to a CompressionJob which contains a reference to a CompressionTask (which has the reference to the stylesheet). There can be other services provided like Detection (DetectionListener, DetectionJob, DetectionTask). However, in reality I only have 2 classes JobImpl and TaskImpl and I'm using ejb-jar.xml to extend these classes and inject them with the appropriate information. Here's an example of my session entry from ejb-jar.xml:
This works if I only have one service (Compress). However, when I try to add another service (Detection) the DetectionJob is injected with the CompressTask.
My goal is to make the addition of new services a configuration task via ejb-jar.xml instead of a programming task (creating new SLSB classes). I come from a Spring background where this is easily accomplished and I'm a little unfamiliar with EJB3. Is what I'm trying possible in EJB3? Is my problem a configuration issue?
Hello,
I'm new to the group and would like to connect with fellow J2ME developers.
Through my company, mobileXware, I've recently started developing for mobile
devices and am in the process of getting our app to work with J2ME Polish.
If you have done or currently do any J2ME development please send me an email.
Thanks!
Jason Ryer
mobileXware
Hey All,
Don't forget that the Denver/Boulder Groovy Code Camp
<http://www.groovycodecamp.com/
> will be here before you know it -- July 28-29.
You've seen Scott Davis (and others) give Groovy demonstrations at the
Denver JUG. You've been reading about Groovy in "Groovy Recipes"
<http://www.pragprog.com/titles/sdgrvr/groovy-recipes
> and the ongoing "Practically Groovy" series at IBM developerWorks
<http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=practica\
lly+groovy:
>
But how much time have you spent actually programming in Groovy
yourself? The Groovy Code Camp is your chance to build that muscle
memory by hands-on, lab-driven training. Bring your laptop, and we'll
make sure that you have Groovy installed and configured. After that,
it's two intense nights of *you* doing the typing, *you* doing the
learning, and *you* jump-starting your Groovy programming skills in
the quickest, easiest way possible. There is no better way to learn a
new technology than rolling up your sleeves and digging in with an
expert or two hanging around to help out if you get stuck.
I know how hard it is to get time off of work for training from your
company. And taking weekend time away from your family is just as
hard. That's why the Groovy Code Camp is two nights -- Tuesday and
Wednesday, from 6pm - 10pm. It's like the DenverJUG on steroids, only
just a wee bit North. (The Groovy Code Camp is being held on the CU
campus in Boulder, the same place as the regular BJUG meetings.)
At $250, Groovy Code Camp is affordable enough for you to take control
of your knowledge portfolio. In this down economy, you need to ensure
that you have *tomorrow's* technology on your resume, not yesterday's.
Use the discount code "DJUG", and we'll take an additional $50 off.
That's $200 for two nights of hands-on training from recognized
experts in the field, like Scott Davis.
Visit us at GroovyCodeCamp.com for all of the details.
See you there,
Scott Davis
scott@...
ThirstyHead: training done right
http://thirstyhead.com
and it does not redirect to other page but it freezes instead.
If you are able to access the downloads, could you try, please, to access the link for download JBoss application server 4.2.0 version and email me, please, the link of the redirected page?
I could access your redirected link but this is only for JBoss 5.0 and I would need also JBoss 4.2.0.
Thank you very much,
Octavia
--- On Wed, 2/4/09, Jerry Bargo <Jerry.Bargo@...> wrote:
From: Jerry Bargo <Jerry.Bargo@...> Subject: RE: [djug-discuss] Cannot Download JBOSS To: djug-discuss@yahoogroups.com Date: Wednesday, February 4, 2009, 9:25 PM
From: djug-discuss@ yahoogroups. com [mailto:djug- discuss@yahoogro ups.com] On Behalf Of Octavia Taranu Sent: Wednesday, February 04, 2009 2:26 PM To: djug-discuss@ yahoogroups. com Subject: [djug-discuss] Cannot Download JBOSS
Hello Everybody,
I tried to download the JBOSS Application Server 5.0 or 4.2 from the link:
But when I click on the download link, the screen freezes, and I cannot download JBOSS. Are you aware of any problem with the JBoss.org site? Is there available other link for JBoss free download?
I would appreciate your opinion and help on this matter!
But
when I click on the download link, the screen freezes, and I cannot download
JBOSS. Are you aware of any problem with the JBoss.org site? Is
there available other link for JBoss free download?
I
would appreciate your opinion and help on this matter!
But when I click on the download link, the screen freezes, and I cannot download JBOSS. Are you aware of any problem with the JBoss.org site? Is there available other link for JBoss free download?
I would appreciate your opinion and help on this matter!
You could also just use plain old HTML and JavaScript. It could produce a file they save, a link that sends an email, etc. Otherwise, I'd look at the PDF libraries for Java and see how they work with PDF forms.
-bp
On Jan 26, 2009, at 4:06 PM, Owen Newnan wrote:
We have a Java based application which needs to collect certain information from employers about their current employees on a monthly basis. We're thinking of using some sort of offline electronic form for this purpose. An employer would "fill in the blanks" to maintain the information and upload the form to us monthly. We would then strip out the machine readable content of the form and insert it in our data. Can anyone suggest products that might meet our needs as discussed below?
The form needs to be editable in a no-charge viewer that is either (a) generally available at no charge or which (b) we can license to provide a free download. It must be possible to extract the data in a machine readable structure, preferably an XML schema we define.
At the very least the form must support multiple occurring data (an arbitrary number of employees). Preferably it should enforce edits with user-friendly diagnostics for missing data and valid syntax, permissible values, etc. Ideally it should also calculate summary information such as total number of employees.
It appears that Adobe may offer a solution in this area, with Adobe Reader providing the viewer and Adobe LiveCycle (Acrobat) the designer. Does anyone have experience using this combination to capture XML and extract it to Java? Would Reader support the above requirements for multiply occurring items and user-friendly validation?
Does anyone know whether the ability to fill in a form and save it using Adobe Reader no longer supported Acrobat 9? TheAcrobat Wikipedia pageseems to imply this.
What other e-form products are out there with which a business might easily edit and upload data using a smart form? The XForms standard would in theory support this, but can anyone recommend a good product that would be easy for small businesses to use and would not require the purchase of viewers? How about proprietary e-from options other than Adobe's; Microsoft Office InfoPath for example? Can that meet the above requirements and has anyone integrated it with Java?
We have a Java based application which needs to collect certain information from employers about their current employees on a monthly basis. We're thinking of using some sort of offline electronic form for this purpose. An employer would "fill in the blanks" to maintain the information and upload the form to us monthly. We would then strip out the machine readable content of the form and insert it in our data. Can anyone suggest products that might meet our needs as discussed below?
The form needs to be editable in a no-charge viewer that is either (a) generally available at no charge or which (b) we can license to provide a free download. It must be possible to extract the data in a machine readable structure, preferably an XML schema we define.
At the very least the form must support multiple occurring data (an arbitrary number of employees). Preferably it should enforce edits with user-friendly diagnostics for missing data and valid syntax, permissible values, etc. Ideally it should also calculate summary information such as total number of employees.
It appears that Adobe may offer a solution in this area, with Adobe Reader providing the viewer and Adobe LiveCycle (Acrobat) the designer. Does anyone have experience using this combination to capture XML and extract it to Java? Would Reader support the above requirements for multiply occurring items and user-friendly validation?
Does anyone know whether the ability to fill in a form and save it using Adobe Reader no longer supported Acrobat 9? TheAcrobat Wikipedia page seems to imply this.
What other e-form products are out there with which a business might easily edit and upload data using a smart form? The XForms standard would in theory support this, but can anyone recommend a good product that would be easy for small businesses to use and would not require the purchase of viewers? How about proprietary e-from options other than Adobe's; Microsoft Office InfoPath for example? Can that meet the above requirements and has anyone integrated it with Java?
I'm looking for software that can help me build a "choose-your-own-
adventure" style customer support FAQ. Our developers find themselves
answering the same questions over and over, I want to find something
that will allow the support team to document a bread-crumb trail that
led to an answer so that they can find the answer themselves next
time. I thought about just using a wiki to do it but I'm worried that
it may be over the heads of some of the support team (not knocking our
support, just don't know them very well yet). The optimum solution
would be one where a user is presented a series of questions that lead
them to an answer, and let them create and link additional questions as
they find different paths in their investigations.
Does anyone out there use something like this already, if so is it a
home-grown or commercial product?
Jason
I will be out of the office starting 11/20/2008 and will not return until
11/24/2008.
If your email is urgent, you may send it to my home email address:
brucekpowell@... Otherwise, I will respond to your email when I
return to work.
So, at the NFJS conference, Venkat had a talk in which he mentioned at least
getting a start on containing warnings within a base of code.
One thing he suggested was having the build fail if warnings are greater
than the current number....so at least it doesn't grow.
But...the next thing would be to have the build notice if warnings went
down, and make that the new max to fail on if warnings go over that new max.
Now - my question is, anyone have an ant script to do this?
--
Sean LeBlanc:seanleblanc@...http://sean-leblanc.blogspot.com
It's more than magnificent -- it's mediocre.
-- Sam Goldwyn
I have no nefarious plans. I recorded some things in the past (2004),
dropped it on my shared drive at home and have not seen it since, but
get a warm feeling knowing it's there (maybe). simply wanted to get
the context of another presentation (that you can not get with slides)
I did upload slides from one conference on a nas drive at work and
tried to get everyone to take a peek at some things. No such luck.
Yesterday I sent out a spec at work that was very important and no one
(stake holders) even read it. Just said "looks good to me". At any
rate it is not that a recording of any presentation that would cause
concern, but what someone thinks about what could be done with it, and
all those thoughts are simply not based on reality given I can get no
one to listen to other things anyway. Everyone is too freaking busy
with their own things and live in their own little reality to look
outside all the things they are focused on and have pressure to
deliver day to day. A recording only, would not draw much attention
given there are 1K+ actual quality videos from some of the conferences
that you list below.
thanks for the info. I am here with several other people from my
company, but they all want to go to other sessions and not the one I I
am looking for but it's not a big deal.
at any rate I have caught a number of Groovy things at the local jug
here, but will catch more of them if I can. Mostly checking out rich
client related presentations as that relates to what I am currently
doing.
--- In djug-discuss@yahoogroups.com, Scott Davis <scott@...> wrote:
>
> I'm sorry if my initial response sounded flippant. This is a
> commercial conference. I don't run it -- I'm just one of the
speakers.
> If you'd like to discuss the matter with someone who can speak about
> in better detail than me, Jay Zimmerman runs the conference. His
email
> is jay@... Or you can talk to him directly -- he'll
> be behind the registration desk as you check in.
>
> Your problem is a common one -- I attend as many conferences as I
> present at, and often times I have to make the same tradeoffs that
you
> are going to have to make this weekend. You are always faced with
hard
> decisions, whether it is at JavaOne, QCon, The ServerSide, or any of
> the other conferences. But the common thread among all of them is
that
> they are commercial and none of them allow the attendees to record
the
> sessions -- for personal use or otherwise.
>
> For selfish reasons I hope to see you at my Groovy sessions on
Friday,
> but you'll be in good hands whichever sessions you decide to attend.
I
> know Ken, Brian, Neal, and Jared all very well -- there's not a bad
> presenter in the bunch. Here's a link to the schedule to help you
make
> your decision:
<http://www.nofluffjuststuff.com/conference/denver/2008/11/schedule.ht
ml
> >
>
> Best of luck,
> Scott Davis
> scott@...
>
>
>
>
> On Nov 12, 2008, at 9:45 PM, java_tek9 wrote:
>
> > Um... what about taking notes? Is this allowed?
> >
> > I was tinking to myself there would be no harm in it or gain for
> > anyone except NFJS (ask me how).
> >
> > If this is for personal use and information only, there is no harm
in
> > it and it is perfectly OK. Think of it as an extended form of note
> > taking.
> >
> > Oh well, I will just have to put all the Groovy sessions on hold
and
> > simply review the slides later (or not). Getting started with
Groovy
> > can wait until next year. Or the next. No rush.
> >
> > Ravi
> >
> > --- In djug-discuss@yahoogroups.com, Scott Davis <scott@> wrote:
> > >
> > > Sorry to rain on your parade, but recording sessions is not
allowed.
> > > The slides are available as PDFs on a USB key to all attendees.
> > >
> > > Cheers,
> > > Scott Davis
> > > scott@
> > >
> > >
> > >
> > >
> > > On Nov 12, 2008, at 1:28 PM, java_tek9 wrote:
> > >
> > > > At the upcoming NFJS symposium, there is a session block with
two
> > > > presentations that I would really like to see. I can't
physically
> > be
> > > > at both, so am looking for someone that can record the other
one
> > for
> > > > me.
> > > >
> > > > I can download the slides for later review.
> > > >
> > > > I have a recorder to lend, if I can find someone to assist. It
> > will
> > > > not be the same experience as being present, but the next best
> > thing.
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
I'm sorry if my initial response sounded flippant. This is a
commercial conference. I don't run it -- I'm just one of the speakers.
If you'd like to discuss the matter with someone who can speak about
in better detail than me, Jay Zimmerman runs the conference. His email
is jay@.... Or you can talk to him directly -- he'll
be behind the registration desk as you check in.
Your problem is a common one -- I attend as many conferences as I
present at, and often times I have to make the same tradeoffs that you
are going to have to make this weekend. You are always faced with hard
decisions, whether it is at JavaOne, QCon, The ServerSide, or any of
the other conferences. But the common thread among all of them is that
they are commercial and none of them allow the attendees to record the
sessions -- for personal use or otherwise.
For selfish reasons I hope to see you at my Groovy sessions on Friday,
but you'll be in good hands whichever sessions you decide to attend. I
know Ken, Brian, Neal, and Jared all very well -- there's not a bad
presenter in the bunch. Here's a link to the schedule to help you make
your decision:
<http://www.nofluffjuststuff.com/conference/denver/2008/11/schedule.html
>
Best of luck,
Scott Davis
scott@...
On Nov 12, 2008, at 9:45 PM, java_tek9 wrote:
> Um... what about taking notes? Is this allowed?
>
> I was tinking to myself there would be no harm in it or gain for
> anyone except NFJS (ask me how).
>
> If this is for personal use and information only, there is no harm in
> it and it is perfectly OK. Think of it as an extended form of note
> taking.
>
> Oh well, I will just have to put all the Groovy sessions on hold and
> simply review the slides later (or not). Getting started with Groovy
> can wait until next year. Or the next. No rush.
>
> Ravi
>
> --- In djug-discuss@yahoogroups.com, Scott Davis <scott@...> wrote:
> >
> > Sorry to rain on your parade, but recording sessions is not allowed.
> > The slides are available as PDFs on a USB key to all attendees.
> >
> > Cheers,
> > Scott Davis
> > scott@...
> >
> >
> >
> >
> > On Nov 12, 2008, at 1:28 PM, java_tek9 wrote:
> >
> > > At the upcoming NFJS symposium, there is a session block with two
> > > presentations that I would really like to see. I can't physically
> be
> > > at both, so am looking for someone that can record the other one
> for
> > > me.
> > >
> > > I can download the slides for later review.
> > >
> > > I have a recorder to lend, if I can find someone to assist. It
> will
> > > not be the same experience as being present, but the next best
> thing.
> > >
> > >
> > >
> >
>
>
>
Um... what about taking notes? Is this allowed?
I was tinking to myself there would be no harm in it or gain for
anyone except NFJS (ask me how).
If this is for personal use and information only, there is no harm in
it and it is perfectly OK. Think of it as an extended form of note
taking.
Oh well, I will just have to put all the Groovy sessions on hold and
simply review the slides later (or not). Getting started with Groovy
can wait until next year. Or the next. No rush.
Ravi
--- In djug-discuss@yahoogroups.com, Scott Davis <scott@...> wrote:
>
> Sorry to rain on your parade, but recording sessions is not allowed.
> The slides are available as PDFs on a USB key to all attendees.
>
> Cheers,
> Scott Davis
> scott@...
>
>
>
>
> On Nov 12, 2008, at 1:28 PM, java_tek9 wrote:
>
> > At the upcoming NFJS symposium, there is a session block with two
> > presentations that I would really like to see. I can't physically
be
> > at both, so am looking for someone that can record the other one
for
> > me.
> >
> > I can download the slides for later review.
> >
> > I have a recorder to lend, if I can find someone to assist. It
will
> > not be the same experience as being present, but the next best
thing.
> >
> >
> >
>
Sorry to rain on your parade, but recording sessions is not allowed.
The slides are available as PDFs on a USB key to all attendees.
Cheers,
Scott Davis
scott@...
On Nov 12, 2008, at 1:28 PM, java_tek9 wrote:
> At the upcoming NFJS symposium, there is a session block with two
> presentations that I would really like to see. I can't physically be
> at both, so am looking for someone that can record the other one for
> me.
>
> I can download the slides for later review.
>
> I have a recorder to lend, if I can find someone to assist. It will
> not be the same experience as being present, but the next best thing.
>
>
>
At the upcoming NFJS symposium, there is a session block with two
presentations that I would really like to see. I can't physically be
at both, so am looking for someone that can record the other one for
me.
I can download the slides for later review.
I have a recorder to lend, if I can find someone to assist. It will
not be the same experience as being present, but the next best thing.
I’ve come up with what I hope is a different way to
delineate the difference between the Adapter Pattern and the Façade Pattern. I
wrote a blog on it that you might find interesting:
As long as you stay away from the proprietary APIs and make efficient use of Java cache (heap), you may actually see benefits of moving to JBoss.
General things to keep in mind
1. Architect the app for high volumes - careful analysis of app wrt locks, monitors, threading issues are critical 2. Efficient use of heap - you may be limited to the heap size of 1-2 GB due to GC pauses, however, other options exist that provide pauseless GC for a very very large heap (500 GB+)
3. Most containers do a decent job of distributed transactions - do you actually use or need to use XA for your distr. trans? There is obviously an overhead of using XA 4. It would be beneficial if the inter-JVM communication can be short-circuited. Options exist in this space also.
k
On Wed, Sep 3, 2008 at 10:29 AM, Octavia Taranu <octavia_taranu@...> wrote:
Hello HTH, k
Yes, this is a production application and it supports hundreds of users!
In order to authenticate the user and execute distributive transactions, it requires other two Java applications (EJB and Enterprise Application) deployed on the same Bea domain.At the Java source code level the Web application communicates with these two required applications through two Java Jar modules located on its LIB folder.
At the Oracle 9i database level, the Web application executes distributive transactions with other two Oracle 9i DB users using 3 data sources and 3 connection pools defined on the Bea console.I use the Oracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10.
What do you think, please, is my Web application suitable for a move to JBoss platform?
Is so, could I reproduce the above BEA configuration on the JBoss console?
Thank you very much,
Octavia
--- On Tue, 9/2/08, k maheshwari <kkmsun@...> wrote:
What type of application are you developing/migratin g? Is this a production app? Does it support large amounts of users/interactions?
Some applications would be more suitable for a move to JBoss platform than others especially if there are lot of open source packages being used. JNDI is standard J2EE so should not be an issue in JBoss.
At my work I need to convert a Web Java-J2EE Struts application from Bea 9.2 to JBoss 4.2. I would appreciate if you could help me to find answers/ information regarding the following:
1.
Do you know, please, the best/ safest path where I can free download JBoss 4.2?
2.
Is Java Struts 1.2.9 compatible with JBoss 4.2?
3.
Does JBoss 4.2 allow data sources and connection pools defined at the console level in a similar way that Bea WebLogic does?
4.
Which Oracle driver does JBoss 4.2 accept in order to connect to an Oracle 9i/ 10g database?
Where could I download the driver? At the Bea console level I use Oracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10 so I would like to find, please, the JBoss corresponding Oracle driver!
5.
I would like to know the JBoss corresponding Java framework for:
import weblogic.logging. NonCatalogLogger ;
and weblogic.jndi. WLInitialContext Factory.
6.
Does JBoss accept the below Java framework/ statements?import javax.naming. Context; import javax.naming. InitialContext;
Yes, this is a production application and it supports hundreds of users!
In order to authenticate the user and execute distributive transactions, it requires other two Java applications (EJB and Enterprise Application) deployed on the same Bea domain.At the Java source code level the Web application communicates with these two required applications through two Java Jar modules located on its LIB folder.
At the Oracle 9i database level, the Web application executes distributive transactions with other two Oracle 9i DB users using 3 data sources and 3 connection pools defined on the Bea console.I use the Oracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10.
What do you think, please, is my Web application suitable for a move to JBoss platform?
Is so, could I reproduce the above BEA configuration on the JBoss console?
Thank you very much,
Octavia
--- On Tue, 9/2/08, k maheshwari <kkmsun@...> wrote:
From: k maheshwari <kkmsun@...> Subject: Re: [djug-discuss] Bea to JBoss To: djug-discuss@yahoogroups.com Date: Tuesday, September 2, 2008, 11:01 AM
Octavia,
What type of application are you developing/migratin g? Is this a production app? Does it support large amounts of users/interactions?
Some applications would be more suitable for a move to JBoss platform than others especially if there are lot of open source packages being used. JNDI is standard J2EE so should not be an issue in JBoss.
At my work I need to convert a Web Java-J2EE Struts application from Bea 9.2 to JBoss 4.2. I would appreciate if you could help me to find answers/ information regarding the following:
1.
Do you know, please, the best/ safest path where I can free download JBoss 4.2?
2.
Is Java Struts 1.2.9 compatible with JBoss 4.2?
3.
Does JBoss 4.2 allow data sources and connection pools defined at the console level in a similar way that Bea WebLogic does?
4.
Which Oracle driver does JBoss 4.2 accept in order to connect to an Oracle 9i/ 10g database?
Where could I download the driver? At the Bea console level I use Oracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10 so I would like to find, please, the JBoss corresponding Oracle driver!
5.
I would like to know the JBoss corresponding Java framework for:
import weblogic.logging. NonCatalogLogger ;
and weblogic.jndi. WLInitialContext Factory.
6.
Does JBoss accept the below Java framework/ statements?import javax.naming. Context; import javax.naming. InitialContext;
I'd setup a HTTP end-point that the client can talk to. This end-point could be Tomcat or something similar. All the end-point does is consume the message and queue it for later handling. It could hand the message off to a bus, grid, space, channel, topic, whatever. This allows you a lot of flexibility because the only thing the client deals with is HTTP. Then you have insulated the API from your internal details and can handle the message however you want internally. And, you can change the way you handle it internally later without impacting the client.
It might look something like this:
client ----------> end-point ----------> (cloud)
The cloud can be a topic, channel, cache, queue, space, whatever. The only concern with this setup is transactions and fault tolerance. If the end-point fails, is the message lost? Do you care if it is lost? If you care and you don't want to lose it, you can write it to disk for later processing. Otherwise, just keep it in memory. If you need to write it to disk, I'd use a selector to transfer the data to disk asynchronously if the client needs a response immediately after the last byte is written. On the flip-side, if the client isn't awaiting a response this doesn't matter as much and you can just write it out in the execute thread of the HTTP server.
-bp
On Sep 2, 2008, at 5:41 PM, Mike Wolfson wrote:
(Thought I would put this architecture question out there to the
group, and see if some of the geniuses on the group had some good insight).
We are trying to decide between using HTTP, or JMS as a communication mechanism for a portion of our system.
Here are some of our requirements. -Guaranteed delivery -Asynchronous communication (Well, these things scream out JMS right, but wait there's more) -Lightweight protocol (we will be sending a lot of communications). -Client is external to our enterprise (may or may not be Java, and likely will not be the same JEE server we use to produce messages). -Our messages consist of a single XML document.
So wondering if anyone has any opinions of which choice would be better.
With HTTP, we would have to code the guaranteed delivery mechanism (which would be simple enough, as we could just wait for a response, and when received, move onto the next communication).
I am pressing for JMS, as smart people have already completed the persistence mechanisms. But the client developer is worried about the increased overhead and development time of JMS.
I am also worried about lag between the request, and response, if we don't receive a response in a timely manner, we could have resource leaks (while waiting on the response to return, we would be synchronous).
Quite frankly, I have some older developers that are protecting their "old way of doing business" and are pressing for using HTTP for this asynchronous communication. I am wondering if maybe JMS is overkill for what we want (and maybe I am being the "young wippersnapper" that is pushing newer technologies just for the sake of using them).
Thanks for any insight in advance.
*********************************************************** Mike Wolfson Senior Software Engineer Phoenix, AZ, USA
"Imagination is more important than knowledge."
~ Albert Einstein ***********************************************************
(Thought I would put this architecture question out there to the
group, and see if some of the geniuses on the group had some good insight).
We are trying to decide between using HTTP, or JMS as a communication mechanism for a portion of our system.
Here are some of our requirements. -Guaranteed delivery -Asynchronous communication (Well, these things scream out JMS right, but wait there's more) -Lightweight protocol (we will be sending a lot
of communications). -Client is external to our enterprise (may or may not be Java, and likely
will not be the same JEE server we use to produce messages). -Our messages consist of a single XML document.
So wondering if anyone has any opinions of which choice would be better.
With HTTP, we would have to code the guaranteed delivery mechanism (which would be simple enough, as we could just wait for a response, and when received, move onto the next communication).
I am pressing for JMS, as smart people have already completed the persistence mechanisms. But the client developer is worried about the increased overhead and development time of JMS.
I am also worried about lag between the request, and response, if we don't receive a response in a timely manner, we could have resource leaks (while waiting on the response to return, we would be synchronous).
Quite frankly, I have some older developers that are
protecting their "old way of doing business" and are pressing for using HTTP for this asynchronous communication. I am wondering if maybe JMS is overkill for what we want (and maybe I am being the "young wippersnapper" that is pushing newer technologies just for the sake of using them).
Thanks for any insight in advance.
*********************************************************** Mike Wolfson Senior Software Engineer Phoenix, AZ, USA
"Imagination is more important than knowledge."
~ Albert Einstein ***********************************************************
--- On Tue, 9/2/08, Brian Pontarelli <brian@...> wrote:
From: Brian Pontarelli <brian@...> Subject: Re: [djug-discuss] Bea to JBoss To: djug-discuss@yahoogroups.com Date: Tuesday, September 2, 2008, 10:27 AM
On Sep 2, 2008, at 10:19 AM, Octavia Taranu wrote:
At my work I need to convert a Web Java-J2EE Struts application from Bea 9.2 to JBoss 4.2. I would appreciate if you could help me to find answers/ information regarding the following:
1.Do you know,please, the best/ safest path where I can free download JBoss 4.2?
3.Does JBoss 4.2 allow data sources and connection pools defined at the console level in a similar way that Bea WebLogic does?
Yes. You need to define the DataSource using the JBoss -ds.xml files. But I believe the JBoss console can generate these for you.
4.Which Oracle driver does JBoss 4.2 accept in order to connect to an Oracle 9i/ 10g database?Where could I download the driver?At the Bea console level I useOracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10so I would like to find, please, the JBoss corresponding Oracle driver!
The drivers from Oracle would be your best bet. JBoss might ship with these, though I haven't downloaded JBoss in a while. Otherwise, just head over the the Oracle website and grab the latest drivers from there.
5.I would like to know the JBoss corresponding Java framework for:
I'd avoid using all internal APIs and instead use standard JDK and JEE APIs whenever possible. For logging, just JDK logging or Log4J. For JNDI use the javax.naming classes.
6.Does JBoss accept the below Java framework/ statements?
Any information, links or recommended books regarding the above issues would be highly appreciated!
Yes. These are standard APIs that ship with the JDK. You just need to setup your JDBC DatabaseSource into the correct location in the JNDI tree.
You might want to consider reading the various JEE books and the JBoss books out there. I'd also suggest reading up on JNDI, JDBC and the various Java books as well.
Good luck! Let me know if you need any onsite assistance. Inversoft would be glad to help out. ;)
What type of application are you developing/migrating? Is this a production app? Does it support large amounts of users/interactions?
Some applications would be more suitable for a move to JBoss platform than others especially if there are lot of open source packages being used. JNDI is standard J2EE so should not be an issue in JBoss.
If you need further help/clarification, you can write to me personally.
HTH, k
On Tue, Sep 2, 2008 at 10:19 AM, Octavia Taranu <octavia_taranu@...> wrote:
At my work I need to convert a Web Java-J2EE Struts application from Bea 9.2 to JBoss 4.2. I would appreciate if you could help me to find answers/ information regarding the following:
1.
Do you know, please, the best/ safest path where I can free download JBoss 4.2?
2.
Is Java Struts 1.2.9 compatible with JBoss 4.2?
3.
Does JBoss 4.2 allow data sources and connection pools defined at the console level in a similar way that Bea WebLogic does?
4.
Which Oracle driver does JBoss 4.2 accept in order to connect to an Oracle 9i/ 10g database?
Where could I download the driver? At the Bea console level I use Oracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10 so I would like to find, please, the JBoss corresponding Oracle driver!
5.
I would like to know the JBoss corresponding Java framework for:
import weblogic.logging.NonCatalogLogger;
and weblogic.jndi.WLInitialContextFactory.
6.
Does JBoss accept the below Java framework/ statements?import javax.naming.Context; import javax.naming.InitialContext;
On Sep 2, 2008, at 10:19 AM, Octavia Taranu wrote:
At my work I need to convert a Web Java-J2EE Struts application from Bea 9.2 to JBoss 4.2. I would appreciate if you could help me to find answers/ information regarding the following:
1.Do you know,please, the best/ safest path where I can free download JBoss 4.2?
3.Does JBoss 4.2 allow data sources and connection pools defined at the console level in a similar way that Bea WebLogic does?
Yes. You need to define the DataSource using the JBoss -ds.xml files. But I believe the JBoss console can generate these for you.
4.Which Oracle driver does JBoss 4.2 accept in order to connect to an Oracle 9i/ 10g database?Where could I download the driver?At the Bea console level I useOracle's Driver (Thin) Versions 9.0.1, 9.2.0, 10so I would like to find, please, the JBoss corresponding Oracle driver!
The drivers from Oracle would be your best bet. JBoss might ship with these, though I haven't downloaded JBoss in a while. Otherwise, just head over the the Oracle website and grab the latest drivers from there.
5.I would like to know the JBoss corresponding Java framework for:
I'd avoid using all internal APIs and instead use standard JDK and JEE APIs whenever possible. For logging, just JDK logging or Log4J. For JNDI use the javax.naming classes.
6.Does JBoss accept the below Java framework/ statements?
Any information, links or recommended books regarding the above issues would be highly appreciated!
Yes. These are standard APIs that ship with the JDK. You just need to setup your JDBC DatabaseSource into the correct location in the JNDI tree.
You might want to consider reading the various JEE books and the JBoss books out there. I'd also suggest reading up on JNDI, JDBC and the various Java books as well.
Good luck! Let me know if you need any onsite assistance. Inversoft would be glad to help out. ;)