abu alfouz

Ranch Hand
+ Follow
since Nov 20, 2006
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 abu alfouz

Hi all,

I need a progrsm or API that I can us to print from any application to amge. For example, I mean an image virtual printer that I can use to print to image instead of print to real printer.

Any help please.
Thank you,
8 years ago
Hi,

Does anybody know about API that can convert from eBook format (like EPUB and MOBI) to APK?

Thank you.
9 years ago
Hi All,

I need a virtual printer (like PDF printer) written in Java. Can anybody help me?

Thank you.
9 years ago
Hi All,

Can I print document without view the "Printing Options" window on Windows and Linux. What exactly I want is to print to virtual printer (to image instead of paper) without viewing that window, so that when I press "Print" the image is saved directly to a specified folder.

Can anybody give some hint?

Thank you.
9 years ago
Hi everybody,

I need a help, I need some code that capture anything go to the printer from this device. For example, if application X printed sentence "Hello JavaRanch" on some document I want to know this sentence on my program. Is that possible?

Thank you.
9 years ago
Very useful .. thank you
9 years ago
Hello,

I have a problem. For every day of a month (lets say February) I want to show records from a PhoneCall table stored in a MySQL database.
The PhoneCall table looks like this:

Record No. Date PhoneNumber
------------- --------------------- -----------------
1 2010-02-01 10:04 491111111
2 2010-02-03 08:35 492222222
3 2010-02-03 08:40 491234567

You see for the 2nd February NO phone calls are in the table.
Now I want to create a query that shows the phone calls for EVERY day of February 2005:

Date No Of Calls
--------- ----------------
2005-02-01 1
2005-02-02 0
2005-02-03 2

But if I do a query like:

select Date, count(Date) As No Of Calls
from PhoneCalls
where Date >= '2005-02-01' and Date <= '2005-02-28'
group by Date

I don't get a record/result for the 2nd February.

So I wanted to use a LEFT JOIN, but how to create the Date-table that holds all days of current month?


So how can I solve this problem?

Any ideas are appreciated?
Hi,

I have a checkboxlist in a jsp page, the checkboxlist read list of project names from the action so that the user can check any group of them.
What I want is when the user enter again he will see the items he choose before "checked".

The action class{





This the piece of jsp:




Thank you.
10 years ago
Hi All,

I work on an application that connect to database by hibernate (I use annotations). I have 2 entities (Department and Employee). Of course the Employee has one Department but the Department has many employees.

What I want is to be able to delete some Department without delete its Employees. (When deleting Department the hibernate should delete constraints that link some Employees to it without deleting the Employees).

Here are the classes:

*** This is the Department class:





*** This is the Employee class:




Any help please.

Thank you.
*** This is the Department class:





*** This is the Employee class:




Any help please?
Hi All,

I work on an application that connect to database by hibernate (I use annotations). I have 2 entities (Department and Employee). Of course the Employee has one Department but the Department has many employees.

What I want is to be able to delete some Department without delete its Employees. (When deleting Department the hibernate should delete constraints that link some Employees to it without deleting the Employees).

Any help please.

Thank you.
Anyone know any new about the preparation of the book?



10 years ago
Hi,

I'm a Java developer, I want to learn making applications with Webspehere, what is the best guide?

Please help.

Thank you.
10 years ago
Mubark (congratulations) Omer
11 years ago
Hi all,

Please someone tell me what is the story of the new version (or new print) of the Head First EJB book, it has been published in 11 May 2009, but the content seems to have for EJB 2, so I'm confused.

this is the book page on Amazon: http://www.amazon.com/First-Brain-Friendly-Guides-Enterprise-JavaBeans/dp/0596005717/ref=ntt_at_ep_dpt_4

Any idea?
Thank you.