Anyone who wants to fix the problem of distracted programmers in the
office should try Pair Programming.
http://www.extremeprogramming.org/rules/pair.html
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 25 June 2011 02:10, Aaron Rouse aaron.ro...@gmail.com wrote:
I
I know this works well for some people but it would drive me
absolutely bug nuts.
On Sat, Jun 25, 2011 at 12:58 AM, James Holmes james.hol...@gmail.com wrote:
Anyone who wants to fix the problem of distracted programmers in the
office should try Pair Programming.
I worked on a small project at a previous job where we tried pair
programming and it had mixed results.
We didn't do the slide the keyboard and mouse back and forth technique.
Instead, we'd do shifts where one person developed on his machine for a
while, while the other provided
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that distractions stop you form working effectively.
And the only way to avoid those distractions is to be away from them.
In my experience, there are more distractions in the office than at
home. I
If you work in an open plan office full of ringing phones and people talking
and what not then I would agree, that is worse.
On Sat, Jun 25, 2011 at 6:04 PM, Dave Watts dwa...@figleaf.com wrote:
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that
On 6/25/2011 1:04 PM, Dave Watts wrote:
In my experience, there are more distractions in the office than at
home. I think that's true for a lot of people. I'm much more
productive in my home office than I was at work.
I would agree, but I guess it can go either way. You need a good
place to
On Sat, Jun 25, 2011 at 1:40 AM, Scott Brady dsbr...@gmail.com wrote:
I worked on a small project at a previous job where we tried pair
programming and it had mixed results.
It can take some practice - and some developers are rather resistant
to it (control issues).
It was actually
indeed working at the office makes no difference for some.
I had one guy working for me once who was spending all his day chatting on
ICQ and IRC and using dating sites to setup sexual encounters.
And writing rubbish code in the mean time.
I put a stop to this and blocked it all in the firewall,
I knew a guy years ago who started working from home, and in order to
get himself in 'work' mode, he'd get dressed up in his suit and tie,
have his breakfast as usual, pick up his briefcase, kiss his wife
goodbye, walk out the back door, round the house to the front door,
walk in, take his
the problem is when that 15 second commute is the only exercise you get and
before you know it you may be destined to shop at the same clothes store as
Hal Helms :-)
On Fri, Jun 24, 2011 at 10:19 AM, Mike Kear afpwebwo...@gmail.com wrote:
I knew a guy years ago who started working from home,
Nice segue (ha)
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com]
Sent: Thursday, June 23, 2011 9:02 PM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
Sean,
Sorry... Midwest values and all that. I'll leave you to your latte's dude.
-Mark
-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com]
Sent: Thursday, June 23, 2011 8:54 PM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
On Thu, Jun 23, 2011 at 6:53 AM
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: Thursday, June 23, 2011 9:11 PM
To: cf-talk
Subject: RE: CF vs. Java Web Developer
Still working .. 3am .. and this is not uncommon ;)
Laying down these sorts of generalised guidelines serves no purpose
No distractions in our office... ;-)
-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com]
Sent: Thursday, June 23, 2011 6:51 PM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
On Thu, Jun 23, 2011 at 4:59 AM, Russ Michaels r...@michaels.me.uk wrote:
LOL, well
On Fri, Jun 24, 2011 at 9:52 AM, Jacob ja...@excaliburfilms.com wrote:
No distractions in our office... ;-)
LMAO
I don't know that it'd be possible to be more productive in _your_ office
than at home. Well, I suppose that depends upon what you're producing, eh?
:D
Good point MJ. I have some exceptionally productive developers who are
working from home - largely single. I'm betting they would agree with you.
FYI - have you checked out Sean's site? :D
LOL, I might just do that...
MJS
~|
I am far less distracted when working from home. I typically will get more
done in 8 hours at home than I probably get done in at least 16 hours in one
of the offices I work out of. I actually feel like I goof off more at home
then when in an office but can't say I ever tried measuring such
On Wed, Jun 22, 2011 at 7:15 AM, Mark A. Kruger mkru...@cfwebtools.com wrote:
When we mad telecommuting available and stopped worrying about relocation
things got a lot easier for us.
I'll +100 on this.
At Broadchoice, we figured out who we'd like to work for us and
conducted screening
+1 on everything said thus far re: telecommute. My company has 10
employees, no office, and we're spread out over four states. We use some
tools already mentioned plus GoToMeeting.
--
John Bliss - http://about.me/jbliss
On Thu, Jun 23, 2011 at 2:20 AM, Sean Corfield
working from home doesn't work for a lot of people though, there are too
many distractions, tv, food, wife or g/f, even more so if you have small
kids screaming round the house all day or if you do not have a separate room
to use as an office.
I have been far more productive since I moved out of
Can we not say a lot? Can we agree on some? Just in case my next
employer is reading this thread?
Unless you have stats...?
On Thu, Jun 23, 2011 at 6:34 AM, Russ Michaels r...@michaels.me.uk wrote:
working from home doesn't work for a lot of people though, there are too
many distractions,
That should have read, Just in case my next employer is reading this thread
and is on the fence about hiring telecommuters?
On Thu, Jun 23, 2011 at 6:37 AM, John M Bliss bliss.j...@gmail.com wrote:
Can we not say a lot? Can we agree on some? Just in case my next
employer is reading this
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that distractions stop you form working effectively.
And the only way to avoid those distractions is to be away from them.
On Thu, Jun 23, 2011 at 12:37 PM, John M Bliss bliss.j...@gmail.com wrote:
Can
Right. Telecommuters have an (obvious) responsibility to avoid enough
distractions and/or put in enough hours to get their work done.
But same goes for non-telecommuters.
On Thu, Jun 23, 2011 at 6:59 AM, Russ Michaels r...@michaels.me.uk wrote:
LOL, well unless u have stats it is nothing
Russ Michaels r...@michaels.me.uk wrote:
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that distractions stop you form working effectively.
And the only way to avoid those distractions is to be away from them.
There are disciplines that you
best to round up the troops in person. At least in my
experience.
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Thursday, June 23, 2011 4:34 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
working from home doesn't work for a lot of people though
In some ways there's a difference between telecommuting and working from
home - although most telecommuters do indeed work from home. When I started
CF Webtools all my customers were remote - so I qualified as a
telecommuter... at least I was not an on-site worker. But I bartered
office space
Michaels [mailto:r...@michaels.me.uk]
Sent: Thursday, June 23, 2011 4:34 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
working from home doesn't work for a lot of people though, there are too
many distractions, tv, food, wife or g/f, even more so if you have small
kids screaming round
/
-Original Message-
From: Jacob [mailto:ja...@excaliburfilms.com]
Sent: Thursday, 23 June 2011 11:46 PM
To: cf-talk
Subject: RE: CF vs. Java Web Developer
Exactly.
Honey, since you are going to be home today can you fill in the blank
with
all the chores your spouse wants you to do
I have been far more productive since I moved out of the house and into a
proper office, as has my wife (who works for me).
And for many of us, the opposite is the case. Being single and without kids, I
actually have far fewer distractions at home than at work where there are often
people
Moving to an office also helped me stop smoking. When at home I would go
downstairs for a smoke whenever I felt like it, at the REAL office I simply
didn't bother.
I worked from home for many years and it did work well, but in the end I
became complacent and bored, I think due to the fact that
Again, just to be safe, Dear future employer, Russ is talking about himself
/ some people. Many people will not have these problems so please *do*
consider hiring telecommuters.
On Thu, Jun 23, 2011 at 10:35 AM, Russ Michaels r...@michaels.me.uk wrote:
Moving to an office also helped me stop
LOL, I think your being a bit paranoid there John, this is a private list
remember,invite only :-)
On Thu, Jun 23, 2011 at 4:40 PM, John M Bliss bliss.j...@gmail.com wrote:
Again, just to be safe, Dear future employer, Russ is talking about
himself
/ some people. Many people will not have
This is a pretty interesting and, in some cases, comical discussion. I
LOL'd when I read working in an office helped cure nicotine addiction. It
sounds funny to hear it... but I *get* where you're coming from. :)
Like Mary Jo, I find that working in an office causes many more distractions
for
, 2011 10:01 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
I have been far more productive since I moved out of the house and into a
proper office, as has my wife (who works for me).
And for many of us, the opposite is the case. Being single and without kids,
I actually have far fewer
Russ - you must be talking about that other list - This is CFTALK. :)
Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com
wilg...@trunkful.com
www.trunkful.com
On Jun 23, 2011, at 10:48 AM, Russ Michaels wrote:
LOL, I think your being a bit
sorry DOH!!! I lost track of which list I was replying to, too many threads
on the go at the same time heh
So yes potential employers, remote working does work well for some people,
everyone's situation is different, as is their ability to be organised, self
disciplined and hard working.
On Thu, Jun 23, 2011 at 4:34 AM, Russ Michaels r...@michaels.me.uk wrote:
working from home doesn't work for a lot of people though, there are too
many distractions
There are too many distractions _for you_ but WFH works very well for
a lot of organizations. World Singles, for example, is
On Thu, Jun 23, 2011 at 4:59 AM, Russ Michaels r...@michaels.me.uk wrote:
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that distractions stop you form working effectively.
There are lots of distractions in an office too.
And the only way to avoid
On Thu, Jun 23, 2011 at 6:53 AM, Mark A. Kruger mkru...@cfwebtools.com wrote:
Here are my tips? Go to bed at a decent hour. Get up and be online by 8:00.
Dress in something decent that makes you feel professional. Keep regular
office hours.
You're clearly not familiar with Californian work
On Thu, Jun 23, 2011 at 8:35 AM, Russ Michaels r...@michaels.me.uk wrote:
But as Jacob mentioned, if your married the wife does tend to think that if
your home your not really working, so you can do chores for her.
That depends on who you married... ;)
--
Sean A Corfield -- (904) 302-SEAN
An
On Thu, Jun 23, 2011 at 8:52 AM, Mark A. Kruger mkru...@cfwebtools.com wrote:
FYI - have you checked out Sean's site? :D
For anyone who doesn't get the reference: http://worldsingles.com/ is
the umbrella brand and 16 of our properties are listed on the home
page - out of around 50 total
...@gmail.com]
Sent: 24 June 2011 02:54
To: cf-talk
Subject: Re: CF vs. Java Web Developer
On Thu, Jun 23, 2011 at 6:53 AM, Mark A. Kruger
mkru...@cfwebtools.com wrote:
Here are my tips? Go to bed at a decent hour. Get up and be
online by 8:00
a
customer's premises, the rest of the time it was jeans and t-shirts.
-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com]
Sent: 24 June 2011 02:54
To: cf-talk
Subject: Re: CF vs. Java Web Developer
On Thu, Jun 23, 2011 at 6:53 AM, Mark A. Kruger
mkru
Taking developers from other backgrounds has been one of our strategies:
http://riarockstars.com/2011/03/10/a-managers-take-on-the-state-of-cf-the-scarcity-talent/
The bare minimum effort to get something loosely working is way easier
in CF vs. Java. Unfortunately the majority of CF developers
, June 22, 2011 8:48 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
Taking developers from other backgrounds has been one of our strategies:
http://riarockstars.com/2011/03/10/a-managers-take-on-the-state-of-cf-the-sc
arcity-talent/
The bare minimum effort to get something loosely working
I'm one of those, probably relatively few, devs that went the opposite
route, starting off in CF and then picking up C#. I didn't do CS in
college, actually any programming at all, but got a math degree so I
had the analytical skills at least and algorithmic thinking. I picked
up CF starting with
Judah my point exactly.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Judah McAuley [mailto:ju...@wiredotter.com]
Sent: Thursday, 23 June 2011 4:12 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
I'm one of those, probably relatively few
We brought a java dev over to CF. Worked a treat. Basically no training
required and when we need some java we have an expert. Same as java to flex
and easy transition.
We also use java through out our app and try to use it especialy with lots
of string operations as java os sop much faster.
FWIW, I don't think it's that easy to become a good CF developer, either.
Yes, it's very easy to learn the language and it's easy to become
competent at it (i.e., being able to build something that works). But to
actually be good (best practices, advanced topics, etc.) isn't necessarily
simple.
Kukiel [mailto:pkuk...@gmail.com]
Sent: Tuesday, 21 June 2011 7:41 PM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
We brought a java dev over to CF. Worked a treat. Basically no training
required and when we need some java we have an expert. Same as java to
flex and easy transition
Not really hand in hand both ways...
It goes the way you're talking about yes but take a CF programmer and throw
them to a Java project and it won't be so graceful a move...
The learning curve on the Java side FAR exceeds ColdFusion.. as someone
learning Java, I can attest to this.
You have to
Scott,
I agree with what you wrote. The original poster seemed to be asking the
question from an employment standpoint. As I wrote earlier, anyone is
capable of learning anything, but having the ability to learn a skill and
actually possessing that skill are different states and have different
I agree. My perspective came as one sided as we take on people new to CF
and commign from java is fine. ( we don't hire CF people to train them in
java )
If we took one of our younger devs from CF and tried to teach them java it
would be alot harder if you didn't have a CS background or OO
Depends on experience.
In general, a Java developer could be more-easily trained in CF.
Jason Durham
On Mon, Jun 20, 2011 at 12:18 PM, scott bloodworth
sbloodwo...@rinovelty.com wrote:
Have heard that these two skill sets work hand in hand. One can easily
learn the other environment
I believe it has more to do with how you desire programming within
ColdFusion as you can program against it in either a procedural and/or OOP
manner. Since CF sits on JRun which is a Java engine it simply uses java as
it's workhorse for everything and since Java is a OOP language if you
planned
What you heard is false. I agree with what Jason said.
-Mike Chabot
On Mon, Jun 20, 2011 at 1:18 PM, scott bloodworth sbloodwo...@rinovelty.com
wrote:
Have heard that these two skill sets work hand in hand. One can easily
learn the other environment fairly easy, is this true? is there a
Out of curiosity, how is that false Mike?
On Mon, Jun 20, 2011 at 11:55 AM, Mike Chabot mcha...@gmail.com wrote:
What you heard is false. I agree with what Jason said.
-Mike Chabot
On Mon, Jun 20, 2011 at 1:18 PM, scott bloodworth
sbloodwo...@rinovelty.com
wrote:
Have heard that
If a person does not know Java there is a steep learning curve. The reverse is
not true, ColdFusion is relatively easy to learn. Thus a Java programmer would
typically have an easier time transitioning to ColdFusion than the reverse
scenario. All the typical qualifiers in place (on average,
Understandable.
However my point was towards what would need to be encompassed in order to
work within the both environments efficiently. Of course ColdFusion is
easier and most likely always will be. But I felt some clarity was needed
since the question was flirting with a commonality between
://www.andyscott.id.au/
-Original Message-
From: Jason Durham [mailto:jqdur...@gmail.com]
Sent: Tuesday, 21 June 2011 3:21 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
Depends on experience.
In general, a Java developer could be more-easily trained in CF.
Jason Durham
if you want this to across platforms.
I could go on and on with many examples where you are wrong Mike.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Mike Chabot [mailto:mcha...@gmail.com]
Sent: Tuesday, 21 June 2011 4:56 AM
To: cf-talk
Subject: Re: CF vs
they can approach it in the right manner.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Wil Genovese [mailto:jugg...@trunkful.com]
Sent: Tuesday, 21 June 2011 5:08 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
If a person does not know Java
designers pick up Java
with ease because they can approach it in the right manner.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Wil Genovese [mailto:jugg...@trunkful.com]
Sent: Tuesday, 21 June 2011 5:08 AM
To: cf-talk
Subject: Re: CF vs. Java Web
It seems like the nitpicking thus far is really superfluous. Learning CFML
doesn't get you any closer to being a Java developer than learning .NET.
The converse is probably true (learning .NET is a better step in that
direction).
If you already know CFML and are looking to expand your skillset,
://www.andyscott.id.au/
-Original Message-
From: Wil Genovese [mailto:jugg...@trunkful.com]
Sent: Tuesday, 21 June 2011 6:22 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
I don't know, I've programmed Assembler, FORTRAN, C/C++ and many
others. Java has a funky way of doing things
The person asking the question appears to be someone without much experience
in either language and is likely not a programming master with a 15 year
work history. In theory, anybody can lean anything. I could become a brain
surgeon if I really put my mind to it, but I don't think the original
On Mon, Jun 20, 2011 at 1:47 PM, Jason Durham jqdur...@gmail.com wrote:
It seems like the nitpicking thus far is really superfluous. Learning CFML
doesn't get you any closer to being a Java developer than learning .NET.
The converse is probably true (learning .NET is a better step in that
On Mon, Jun 20, 2011 at 10:18 AM, scott bloodworth
sbloodwo...@rinovelty.com wrote:
One can easily learn the other environment fairly easy, is this true?
As others have indicated, learning Java is much harder than learning CFML.
is there a benefit in looking for one or the other in
...@gmail.com]
Sent: Tuesday, 21 June 2011 7:57 AM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
The person asking the question appears to be someone without much
experience in either language and is likely not a programming master with
a
15 year work history. In theory, anybody can lean
thanks to a free hand), and the
automatic driver will benefit from the greater control afforded by
stick-shift.
--- Ben
-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com]
Sent: Monday, June 20, 2011 6:25 PM
To: cf-talk
Subject: Re: CF vs. Java Web Developer
On Mon
Great analogy!
On Mon, Jun 20, 2011 at 3:36 PM, Ben Forta b...@forta.com wrote:
CF=automatic, Java=stick-shift
You can start with one and then learn the other, but stick-shift drivers can
learn to drive automatic far easier than the reverse. When done, both
benefit from the added
Great analogy!
No kidding. I bet he would be good at explaining CF to other people.
G!
On Mon, Jun 20, 2011 at 7:47 PM, Sean Corfield seancorfi...@gmail.comwrote:
Great analogy!
On Mon, Jun 20, 2011 at 3:36 PM, Ben Forta b...@forta.com wrote:
CF=automatic, Java=stick-shift
You
Hey All,
Has anyone found an easy way to wander through all of the classes /
packages available to CF through Java?
I keep finding cool things other people have done using Java classes or
packages that CF has already built in, but aren't in any way documented.
I'd just like to wander through
Larry,
Excellent Resource. Thanx for sharing.
G!
On Mon, Aug 10, 2009 at 12:20 PM, Larry Lyons larrycly...@gmail.com wrote:
Alan,
A couple of things, first off Elliot Spren had a great presentation last
year on the java internals of CF. Its available online:
Larry,
Excellent Resource. Thanx for sharing.
Glad to help. Also if you're going to CFUnited, Adam Haskell is giving a 2 part
presentation on CF and java. he already has his code available online:
http://cfrant.blogspot.com/2009/08/cfunited-introduction-to-java.html
regards,
larry
I don't know that there is any tidy browser type thing - but Alagad built a
little tool for reflection:
http://www.alagad.com/reflection/
( http://www.alagad.com/go/products-and-projects )
Perhaps combine that with this:
I'm not sure if all of these are available to CF.
http://java.sun.com/javase/6/docs/api/overview-summary.html
Thanks,
Eric Cobb
http://www.cfgears.com
Alan Rother wrote:
Hey All,
Has anyone found an easy way to wander through all of the classes /
packages available to CF through Java?
Cool,
thanks everyone.
Just in case someone else has something, let me give a better example of
what I'm talking about.
I had a problem the other day where I had a client who has a website with
years and years of assets stacking up on their server. They had hundreds of
SWF files in one folder
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: Alan Rother [mailto:alan.rot...@gmail.com]
Sent: Friday, August 07, 2009 11:04 AM
To: cf-talk
Subject: Re: CF and Java
Cool,
thanks everyone.
Just in case someone else has something, let me give a better example of
what
As far as I have been able to determine all it does is to return the meta
info for the file.
http://coldfused.blogspot.com/2008/02/reading-flash-swf-metadata-from.html
http://coldfused.blogspot.com/2008/02/reading-flash-swf-metadata-from.htmlIs
Compressed : #header.compressed#br
Frame Count :
However, it may still be possible that there are other
classes and packages
out the in CF that CAN pull assets from SWF files... Seems
unlikely, but who
knows, there are sooo many of them.
I have never used it. But if you are curious, open the jar and look inside ;-)
That class is from
you could always hit it with cfdirectory and look at dateLastModified
However, it may still be possible that there are other
classes and packages
out the in CF that CAN pull assets from SWF files... Seems
unlikely, but who
knows, there are sooo many of them.
I have never used
*** http://isaacdealey.sys-con.com/*Here is a place to start:
http://java.sun.com/javase/reference/api.jsp
Not exactly what you are looking for but... Ike Dealey did a lot of CF
related Java spelunking in this article
http://coldfusion.sys-con.com/node/45569
I found it to be a good read and
Line 91 is:
XMLSignatureInput result = transforms.performTransforms(input);
10 from the end.
A+
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 MX7 integration create powerful cross-platform RIAs
I got a bit further on using Mark Mandels Javaloader.
The coldfusion code is:
cfscript
loadPaths = ArrayNew(1);
loadPaths[1] = expandPath(irmarkjars);
loadPaths[2] = expandPath(irmarkjars\jce-jdk13-114.jar);
loadPaths[3] = expandPath(irmarkjars\style-apachexml.jar);
loadPaths[4] =
file, so either your passing some null variable, or you forgot to set
something, etc..
Russ
-Original Message-
From: Andrew Whone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007 11:01 AM
To: CF-Talk
Subject: Re: CF and Java
I got a bit further on using Mark Mandels
What is line 91 in your java file? That's where the error in your class
is being thrown,
Phil
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007 11:46 AM
To: CF-Talk
Subject: RE: CF and Java
Looks like something is getting a null pointer, meaning
I am using 1.4.2
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
Subject: Re: CF and Java
I got Russ's code working but if I do this:
public class IRMark {
protected String filename;
public IRMark (String filename) throws Exception
{
this.filename=filename;
// Init the Apache XML security library
Init.init
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 12:21 PM
To: CF-Talk
Subject: RE: CF and Java
Does the code work when you run it from java? In the main method, do
something like:
IRMark irmark=new IRMark(somefile.xml);
System.out.println(irmark.doStuff());
Russ
I got Russ's code working but if I do this:
public class IRMark {
protected String filename;
public IRMark (String filename) throws Exception
{
this.filename=filename;
// Init the Apache XML security library
Init.init();
}
, 2007 12:24 PM
To: CF-Talk
Subject: RE: CF and Java
Your class doesn't appear to have an init method of its own. The fact
that
it's calling an init method in another class shouldn't matter, I think.
CF comes with a specific version of log4j, which may be conflicting with
yours.
What exactly
Thanks for all the help but still no joy.
I have been compiling the class file in the classes library and not moving it.
All the jars are in the class path.
I have been calling the method using:
cfobject action=create type=Java class=IRMark name=myObj
cfset ret=myObj.main(input.xml)
And
Andrew,
My 1.2 referred to version 1.2 of the Apache XML Security Library:
http://xml.apache.org/security/dist/java-library/old/xml-security-bin-1_
2_0.zip. I did have to upgrade to the 1.2.96 version of the xmlsec.jar
file:
http://xml.apache.org/security/dist/java-library/old/xmlsec-1.2.96.jar.
to be
doing this a lot, I suggest getting Mark Mandel's JavaLoader.cfc. It has
greatly eased my Java/CF development.
Russ
-Original Message-
From: Andrew Whone [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 9:24 AM
To: CF-Talk
Subject: Re: CF and Java
Thanks for all the help
Andrew,
My 1.2 referred to version 1.2 of the Apache XML Security Library:
http://xml.apache.org/security/dist/java-library/old/xml-security-bin-1_
2_0.zip. I did have to upgrade to the 1.2.96 version of the xmlsec.jar
file:
http://xml.apache.org/security/dist/java-library/old/xmlsec-1.2.96.jar.
:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 9:58 AM
To: CF-Talk
Subject: Re: CF and Java
Andrew,
My 1.2 referred to version 1.2 of the Apache XML Security Library:
http://xml.apache.org/security/dist/java-library/old/xml-security-bin-1
_
2_0.zip. I did have to upgrade to the 1.2.96 version
I tried that and it's still the same error message so presumably the array is
problematic but should work see:
http://weblogs.macromedia.com/cantrell/archives/2003/06/passing_coldfus.cfm
I put the blank constructor in the code thus:
public class IRMark {
/**
* Generate and print the
, it's poor coding
practices and will cause you more problems in the long run. Your code should
be properly structured.
Russ
-Original Message-
From: Andrew Whone [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 11:50 AM
To: CF-Talk
Subject: Re: CF and Java
I tried
1 - 100 of 114 matches
Mail list logo