Stephen Tret

Greenhorn
+ Follow
since Feb 03, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stephen Tret

Martin Evans wrote:I'll do my best to keep answering questions
Martin

Thanks Martin!
10 years ago
Do you (authors) have a website or forum where we developers can ask you questions after you sign off from this forum this week?
10 years ago
Hi, I would like to know if my app is running on a Production server or a development server. Previously I was defining a variable to denote this out of Websphere as an operating system variable and referencing them using System.getEnv() in my app. But this had some drawbacks. Most of the time on a server restart, the websphere instance starts before the environment variable is declared, and websphere doesn't know about this variable.

Recently I have been reading up on variables that could be defined within Websphere (Environment, WebSphere, Custom). Could someone please tell me which one of these I should use for best practices? Thanks
11 years ago
I am trying to replace fragment1 with fragment3 by clicking on a 'Change Fragment' Button defined in fragmen2. Fragment3 will not fully replace Fragment1 completely. Instead it lines itself up underneath the text in Fragment1. I am doing something silly and I could use some pointers. I have included the code here and the output error screenshot (the gray area fragment3 doesn't completely overlay the white area fragment1). Thanks for any pointers.

Code for main.xml:


Code for fragment1:


Code for fragment3:


Code for fragment2:


Java Code behind 'Change Fragment' in fragment2:
12 years ago
Thank you for your responses. Sorry for the late response. I had to do my home work when Maneesh mentioned I had to have a web server for HTML/JS/CSS.

As far as application requirements go, the application isn't very big. There's a some input data that needs to be stored on the tablet. Then the tablet goes out on it's own into no wi-fi land. The application has a bunch of radio buttons (yes/no type), very few checkboxes and a couple of text fields. At the most, the application has less than 10 pages of small HTML forms. The end user fills these forms and I guess I can use JavaScript to write out a (JSON) file on the local file system on the tablet.

When the tablet gets back into Wi-Fi range, I can copy this data back to the server. Does this design have any gaping holes?

If I put a web or servlet container on the tablet itself, I am afraid I am going to kill it!
12 years ago
oops, what I meant was in our shop here.
12 years ago
I have been asked to develop an application for a Windows 7 tablet. The preferred language was Java. The tablet will not have an internet or network connections at all times, so the application has to behave like a standalone application most of the time.

Since it has to be a standalone app using Java, I was thinking about a Swing based application. But that would be hard to maintain as nobody does Swing here anymore. If I put in a servlet container on the tablet like tomcat, I could do traditional JSP, but is that an overkill?

I have been reading/googling/posting messages to see if I am on the right path and some people suggested I give up on Java and instead just use HTML/JavaScript/CSS. The advantage would be the application would be fast and light weight - and I like that idea.

My question is, is using Java an overkill for such an app? or could I still use Java and keep it light weight? Thanks for any feedback.
12 years ago
ok, thank you. The reason we were considering windows was because we couldn't find a rugged android tablet suitable for outdoor industrial use. There was a google hit on a motorola, but the customer service person denied any knowledge of such an android tablet. So I've posted a question on an android tablet forum. Hopefully we will find one.
12 years ago
Thanks for your response. The company mentioned that the same mobile classes are applicable to tablet programming as well. I will check with them to see if 3.0 is included.

I was also asked if the same Java code that I write could be deployed to a Android tablet as well as a tablet running on windows. I tried googling, but can't come to a conclusive answer. Is it possible to write code that could be deployed to both windows and android tablets using only Java? Thanks again
12 years ago
Hi, we have been asked to look into tablet programming using Android. We saw some classes online that were teaching android for mobile platforms. Is programming for the mobile platform same as programming for android tablets? we just want to make sure before we sign up for any classes. Thanks.
12 years ago
KristJan, I bought the course for $99 for a year and the very next day, it went down to $49. So I contacted them and they said they will give me an additional year free and I took it. My other option was to cancel my original subscription (which I can do within 10 days) and subcribe again for the $49 plan.

Hopefully if they continue to add J2EE materials, it would be well worth it.
12 years ago
Thanks. I will do the same thing with my bank as well. On a side note (if it helps anybody else looking for reviews on this site), I like the course and it is more than worth the money for me. I am very happy I got enrolled.
12 years ago
Yes, I did hear from them. Thank you. But I haven't heard any reviews from anywhere else.
12 years ago
Hi, I got this link http://www.learnnowjava.com/ from a coderanch newsletter last week. I checked out the site and a couple of sample videos to learn J2EE. It looked good. I did have a question for them and I tried calling. Their 1-877 number wants me to email them, so I emailed them as well.

So far no response. Although I like the materials, I am not so sure if I want to give them my credit card details. If I can't find anybody to talk to now, I would hate to run after them to cancel my subscription a year later. Has anybody else dealt with these guys? Thanks for any info you can provide me with.
12 years ago