Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Tom Pridham

Ranch Hand
+ Follow
since Feb 06, 2001
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 Tom Pridham

Anyone out there used JDeveloper and ADF to make an application that is currently running in production?

I would love to hear some feedback on the use of ADF and if they are public sites, some URLs would be appreciated!


Regards,
Tom Pridham
Coastal Software Solutions, Inc.
My opinion is to stay away from JSF for just a bit longer and let it get more mature and wait to read about developers experiences of deploying this *new* technology to solve REAL BUSINESS NEEDS.

One thing to remember is that JSF has a steep learning curve, so if you are just a one-man-band, that is not an issue, if you have a group with little JSF experience, I would suggust staying away and using JSP-Struts instead and then slowly migrate to JSF as you knowledge level increases and the technology becomes more robust.

Hibernate may be overkill too, depending on the size of your project.

Regards,
Tom Pridham
Coastal Software Solutions, Inc
Greetings,

It appears that you have 2 possible scenarios that you will have to handle on the server side to destroy a session.

The first scenario is when the client clicks the "logoff" button. On the server side, you would get the HttpSession object from the request object and then call the invalidate() method on the HttpSession object. See the JavaDoc API documentation (http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html).

The second scenario where the user exits the app without leaving the application in the expected manner of clicking the "logoff" button. This leaves your application not knowing if the user is still there or not (unless you have a short session timeout setting). You need to test many session timeout scenarios to see what will work and keep your server from running out of memory.

Regards & God Bless,
Tom Pridham
Coastal Software Solutions, Inc.
16 years ago
Greetings,

When you create an application in OAS 10.1.3.x.x you can create a deployment file (see the help documentation in the IDE for the specific steps to create the deployment file). In the deployment file wizard, there is a drop down menu that allows you to set the max memory footprint for your application.

Also, you need to check the size of memory on the server that you are deploying to.

Thirdly, are you using any type of technology that is trying to pre-load a ton of objects (EJB, Spring Ioc, Servlets etc.)?

Even though Java "doesn't have memory leaks", it does if tons of objects are created and the reference to those objects are not released.

Did you use ADF to create the application? An app based on ADF may be trying to load a lot of database objects on start-up (ADF loves EJB).

I hope I am sending you in the right direction. Let me know how things go.

Regards & God Bless,
Tom Pridham
Coastal Software Solutions, Inc.
16 years ago
Thanks for your reply. It has been very hard to find information about JDeveloper.

Regards,
Tom
16 years ago
Greetings,

Is it possible to develop an application using JDeveloper, but deploy it to another app server (i.e. Resin)? Of course I would stay away from the Oracle proprietary stuff.....but does the IDE lock you into the Oracle 10g Application Server?

Many Thanks!!

Regards,
Tom Pridham
Coastal Software Solutions
16 years ago
Has anyone had anyluck using the SpringFramwork's MVC while developing in WebLogin Workshop - instead of using pageflows? I am using Spring for IoC of my beans and other stuff, but I really want to use the web MVC as well.

I work in a coporate environment where we use Workshop as our IDE, but can substitue technonogies to get the job done....as long as we deliver an EAR file to test/stage/prod.

Thanks,
Tom
16 years ago
I was finally able to talk to Sun Training today on the phone. If you have an old Java Programmer certification, you can take the 1.4 Programmer exam for $100 (instead of $150).

I bought a book from Amazon that was written by the two Sun employees that created the 1.4 Programmer exam. The book is:

Sun Certified Programmer & Developer for Java 2 Study Guide (Exam 310-035 & 310-027) by Kathy Sierra & Bert Bates.
My Java Programmer Certification is from 02/19/2001. I want to take the Developer's exam, but it looks like Sun changed their policy so that exams after 08/2003 don't have an expiration date. So.....

Do I have to take the 1.4 Programmer test?
Am I eligble for the 1.4 upgrade (and save 50 bucks)

I have email and called Sun Training, but that is like hitting a brick wall.


Regards,
Tom Pridham
Technologist & Founder
Coastal Software Solutions Inc.
Tom@CoastalSoftwareSolutions.com
I wish I could help you with your problem.....but we are migrating from Resin to Tomcat.

Tom
17 years ago
You may have to use a META tag to redirect to the desired page or in the Resin.config file, set the default document.
Regards,
Tom Pridam
CIO
www.365MT.com
18 years ago
This may sound dumb, but can you connect to the db via the command line? Also, it you don't do a cleanup in a finally block and release the connection, you will quickly run out of them :-(
Here is my mysql portion of the Resin config file:
resource-ref>
<res-ref-name>jdbc/test</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<init-param driver-name="com.mysql.jdbc.Driver"/>
<init-param url="jdbc:mysql://127.0.0.1:3306/myDBName"/>
<init-param user="blah"/>
<init-param password="blah2"/>
<init-param max-connections="20"/>
<init-param max-idle-time="30"/>
</resource-ref>
Then I have a WebConstants.java file that contains the following snippet:
public static final String DEFAULT_DATASOURCE = "jdbc/test";
Then from anywhere, can get a connection by calling WebConstants.DEFAULT_DATASOURCE = "jdbc/test";
If this doesn't work, either email me at pridam@mindspring.com or my AOL IM is Tom365MT
Hope this helps!
Regards,
Tom Pridham
CIO
www.365MT.com
18 years ago
I am such a moron, the version number is printed in the stdout file when the Resin starts, d'oh!
18 years ago
Is there a command line switch to use to figure out which version of Resin is running? I need a solution for both Windows and Linux.
(I never changed the folder names to match the version because this causes me other configuration headaches.)
Thanks,
Tom
18 years ago
There is also CWIHosting (http://www.CWIHosting.com). They use Resin...you can order a Linux hosting package for $15/month and then add a private Resin JVM for an additional $5/month. So for $20/month you get a full blown private Resin JVM. Not a bad deal....
19 years ago