Thomas Mcfarrow

Ranch Hand
+ Follow
since Jul 09, 2001
Merit badge: grant badges
For More
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 Thomas Mcfarrow

Hi,

I am encrypting data like the following:


How do I decrypt it?



??? -- not sure what to do next
-----------------------------------------------------------------


Thanks
11 years ago
Hi,

I know Java wasn't available on Windows 8 developer preview (so I read), will java (in particular Swing) be supported on Windows 8? If so, does this mean it will run on tablets?

Regards, Tom
11 years ago
Hi,

Where is the best place to get managed hosting?

I am looking for an App Server + Database preferably MySQL.

I want to be able to deploy my web application and not worry about the infrastructure?

AWS (Amazon Web Services).

Any help would be appreciated
12 years ago
Basically I am trying to implement a MySQL bin-log that saved in the database. The alternative is to write bridge code that will move the log to a table.

Or remove the updatable resultsets. IMHO, updatable resultsets are slower than a straight insert or update.

The whole idea was not exposing db architecture to the client.
Hi,

Currently we are using MySQL and the JDBC connector for our application. In some cases we are doing :

ResultSet rset ....
rset.moveToInsertRow();

...
...
rset.updateInt(...).



I have a simple question, is there a easy way to get the SQL generated by this statement programatically? We are looking at implementing MySQL bin-log alternatives for the app.
How could I use PrinterJob when I need to force the main frame to be always on top?

JFrame frame = new JFrame();
frame.setAlwaysOnTop(true);

...
...
...
PrinterJob displays the dialog behind the frame.

Thanks.
12 years ago
Hi, thanks for the advice.

I am really familiar with Struts (well 4 years back).

Any secondary suggestions? What is the most widely used framework?

Regards.
13 years ago
Oh, one other requirement is that it needs a nice plugin for Eclipse to help expedite development.
13 years ago
Its been a while since I did a web application (4 years). I am looking for advice what framework is recommended to use? Typically I used Struts in the past but I haven't kept up on the latest and greatest technologies.

ie. Spring MVC, Struts 2.x?

Also, what would be the best framework to integrate Ajax into? Is AJAX the current "standard" for server side scripting?

Any advice/opinions would be greatly appreciated.

Thanks.
13 years ago
If you have a commercial product based on Java (using API's etc), do you need to pay anyone?

http://content.usatoday.com/communities/technologylive/post/2010/08/more-on-oracles-lawsuit-vs-google/1

....
"Thousands of companies -- including IBM, RIM (BlackBerry), Amazon.com (Kindle) and Sony (Blu-ray) -- have Java licensing agreements because their products use the technology."
...



Even further, what about a commercial product based on Java and MySQL (both Oracle)
13 years ago
Yes I agree, if a hacker could break larger systems like Microsoft, Adobe, etc... my scheme would be trivial.

I still would like to make it more difficult.
15 years ago
Hi,

I created a multi-layered licensing and anti-piracy scheme.

This would include license logic based on system hardward, obfuscating and jar hash value validation.

With this said, I would like to protect the case in where the savy java programmer overrides one of the obfuscated license classes. Is there a way to ensure that the class is being used from the jar and not somewhere else (i.e adding an additional class or jar to the classpath).

i.e.
obfuscatedclassname.getClass().getName --- ensure that one is being used in the jar.

Code examples would be useful.

Thanks
15 years ago
Hi,

It sounds like the servers might be load balance or something.

Look into setting a sticky bit or something (WAS or some other app server configuration) OR there is a way to force all responses from each session to come from the same server in a load balanced environment.

I know our deployment department has set this for our apps. We have 2 prod / 2 DR servers.

Regards
15 years ago
Hi,

I have a swing application that uses Javax.comm to read and write to serial ports often.

Is it better to keep an output / input stream open or close them on each call.

I had a bad experience with AudioInputStream while opening and closing on each call. It seemed to have a memory leak that wasn't related to my code. I don't want a response on the AudioInputStream problem, just the javax.comm. Thanks.
16 years ago
Could anyone help?

Thanks
[ July 02, 2007: Message edited by: Thomas Mcfarrow ]
16 years ago