aymane chetibi

Ranch Hand
+ Follow
since Apr 12, 2006
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 aymane chetibi

Hello everybody,

I hope you are doing fine and you are ready to heare this challenging problem.
I am designing a system to enable people to trade stocks virtually.
When somebody wants to sell/buy stock he has the option of telling the system not to execute this transaction until the price of the stock reaches a certain threshold T, and he also specifies that a date limit D at which ( if the price have not reached the threshold, the transaction is canceled.)

With that in mind, in my application stock quotes are brought in using Yahoo RSS feed every second. and those kind of transactions are stored in the database with their status being set to pending along with their corresponding treshold and date limit.

What is the way to handle the event of the price changing to reach the given threshold quickly enough (not to loose it) and without making the server too busy ==> by at each time load all the transactions with incomplete for all users and check the prices of all stocks ??

I would love if you can point me in the right direction, and tell me whether there is a simple solution or should I use some frameworks or anything else. I have been stuck for a week with this provblem now.

I really appreciate your help,
Thank you.
[ April 19, 2007: Message edited by: Bear Bibeault ]
16 years ago
I am sooo sorry, I used the wrong word.
I do not mean to use the browser's refresh button.
I meant that when the Javascript code refreshes the part it is supposed to refresh ( <DIV> ), the page is moved back to the top and the user should scroll down again to see the modifications.

I have another question, in case I want to use a servlet to update information on my View, what is the url I am supposed to use in the Javascript code ?

I used the following code and it does not seem to work:

I hope somebody can help me through with this, I hardly can find any AJAX related code on the internet.

Thank you soo much.
Best regards;
Thank you very much for you fast reply.
Now I got that to be working but when I click refresh, it always moves the page to the top

how can I get rid of that ?

thank you.
regards,
hello everybody;
I hope everything is going well for everyone

I am working on a project and I am stuck since quite a long ago on how to refresh some database tables I have using Ajax.

The ideal would be to refresh them automatically every for example 30 seconds, but for now I have a submit button to trigger the update.

Thank you soo much for any help you might give me.
Best regards,
hello all,
I am posting this question here but please move it to whatever forum you think it fit best in.

I would like to know if any of you have any experience with building stock exchange simulation systems like the one at www.stocksquest.com or know how they are implemented

I would like to know what are the ways available to programmatically get stock quotes at regular very small intervalls of time, and what technology should be used to do this kind of thing without losing speed.

thanks a lot in advance.
I apreciate your help.
best regards,
16 years ago
Hello all,
I hope you'r all doing well.
I am starting my capstone project this week that I want to do using Java Entreprise Edition, including AJAX and Hibernate technologies.
I would really appreciate to hear from you some project ideas, that would be both original and interesting to oimplement.

thank you a lot in advance for yuour time.

regards,
Hello all,

I have a quick question, I have added a frame to my application that opens when you click on a certain button, but when the parent frame is closed the frame I created remains open.
How can I make sure, that when the user closes the parent frame(the application) my frame also disposes?

Thanks a lot in advance, I apreciate your time.
regards,
16 years ago
Hello all,
I am in the process of starting my Capstone project design to get my Bachelor in Computer Science.

In my project I want to work with JEE and other related technologies, JSF, Spring, Hibernate and AJAX.
A choice Iam faced with now, is whether I should develop a framework arround these to provide an added value to developers
or develop an application to be used by end users ?

I think your opinions would be extremely valuable to me, and please tell me what is now is high demand in the job market.

Thanks a lot in advance.
Best regards,
I think the problem was because some Panels Transparet option was set to true in the look and feel.

I set it to true, now they are showing correctly but the buttons still have problems.


thanks for your answers.
regards,
17 years ago
Please if any body can help me with that I would really appreciate it.
A development team was using com.birosoft.liquid.LiquidLookAndFeel LnF on an application, and now I have to continue working on this application but the problem is whenver I create a new Frame and attach it to the application all the colors of the panels included in this frame are gone


does anyone ever encounter this problem.
Or please just give me links to where I can find a solution.
thanks
regards
17 years ago
anybody pleaaaaaaaaaaaaaaaaaaaase knows how can I keep the color of my JPanels no matter what look and feel it is???

thanks a lot in advance.

regards,
17 years ago
Hello all,
A previous programmer was using a Look and feel and a project I am working on now. and whenever I add a frame to the project, all the colors of the panels inside this frame are not shown.

Anybody knows how to solve this problem ?

thanks a lot
regards,
17 years ago
Hello all,
I 've had a problem and Ive been looking for a solution in vain for 1 month now. I would really appreciate your help.

In My JTable row CANNOT be selected. when you click somewhere on the table, only the cell on which you clicked get its borders blue.
I want the entire row to get selected whenever the user either right or left clicks on the table.

I know how to get the index of the row where the cursor of the mouse is, but this row doesn't want to get selected.

my cellrenderer look like this:



and my declaration look like this:


I would really appreciate your help PLEASEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEe!
regards
17 years ago
thanks a lot.
but I mean when you click on a row (using the mouse) I want the row to be selected not just the cell on which you have clicked.


thanks a lot.
regards,
17 years ago
Hello All,
I have been recently asked to do internationalization to a very large application. (to both english and french)
I have created 2 .properties files that include the keys and their translations. one for french and one for english.

In My source code, after doinf this:




I look for any string displayed in the frame and replace it with something like :


this is taking me forever to do, since the application is very large, and I thaugh maybe I am doing this the wrong way.
I was wondering if there is any other way of doing this.

I would really appreciate if you can help me with that.
thanks a lot.

regards,
17 years ago