Julio Fernandez

Greenhorn
+ Follow
since Mar 06, 2008
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 Julio Fernandez

Hi everyone!,

So, I have this query:
SELECT TZNAME FROM V$TIMEZONE_NAMES GROUP BY TZNAME

This is basically to get all time zones from Oracle database, however, if I need to retrieve this information somehow using JPA or Hibernate (I would use this infomation as a String List), is there any way I can avoid a Native Query and use some HQL, Criteria query for this?, I mean, I would really like that approach instead...


Thanks & Best Regards!
Hi Ulf,

Thanks for the quick reply!, Although I'm not 100% sure, it's most likely Samba so, let me check the jCIFS library to see how it works...



Regards,
Julio Fernandez
Hi everyone,

I have an issue while trying to to access a password protected remote (shared) folder from a non-web java application...

So far, I'm able to do so if it would not be password protected by just using java.oi.File and accessing the folder as if it is local but I don't know how I can achieve the same thing when it is password protected, I mean, I know it would be easier if I can access this "resource" through an HTTP request or similar but, since it's file protocol, I could not find much information.

I've also looked at URL and URLConnection classes and it's the same thing, when there is no user / password restriction, I'm able to get there, otherwise, I'm not so, I don't know if I'm missing something with those classes or if there's any way I can pass username / password as parameters when accessing this remote (shared) folder using the file protocol...

Hopefully you guys can help me out on this one, thanks in advance...



Regards,
Julio Fernandez
Hi everyone,

I'm trying to implement Quartz jobs in my web application, It's fine in development environment, because it's deployed only in one server, there are no load balancing, however the application, for production environment is deployed in 2 different servers, since my quartz jobs are meant to send e-mails every time they are executed, witout doing anything special, they would be sent twice, my first approach here is to add an special parameter to the servers, something like -DExecuteQuartz=Yes / No, being "Yes" for one server and "No" for the other one and, from my code, through the System.getProperty("ExecuteQuartz"), i would know whether this server will wxecute the quartz job or not, however, this would limit the quartz execution to just one server, what if this server is down by the time is scheduled to be executed, another approach would be the same, but scheduling the execution not once but at least twice a day, but then i would have to add an "Already Executed" status in the database or something...

Those are the only approaches i can think of, my question is, is there a better way to implement quartz jobs in multiple servers?

Thanks in advance for taking the time to answer this request...



Regards,
Julio Fernandez
Hi there, thanks for the reply, that was like my first approach, but I don�t know, did not like it at all, so, i was wondering about this approach, with an EAR file, what do you think, is it possible to share the same session if all the wars are in a unique EAR? Thanks in advance...
Hi, i just want a confirmation for this....

I have an application whose central page is a welcome page with a news section, and other stuff..., in this page i am supoosed to access 2 or 3 applications, BUT!!! these are independent applications, i mean, for the landing application i have a war, for the other applications i have its respective war... the problem in.... if a user want to access the application1 the user NEEDS to pass for the landing page first... its not just a <a href="application1_Link">Application 1</a>

so, Its possible to communicate several war as if where one application, I have a theory that this could be solved if the applications, all were in a ear, but I really dont know for sure..., so.... any thoughts?