Vesko Jel

Ranch Hand
+ Follow
since Jun 06, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vesko Jel

Thanks for response. Now realize the power of Interfaces
If I develop/deploy EJB client separate from the EJB itself, which classes/interfaces i need to import. For instance Netbeans adds whole EJB build to WEB-INF/lib , but I'm not sure if this is necessary!

1. For instance if EJB client is local, which class will be loaded - from EJB/client or both?
2. If client is applet , does it need to know interface implementation or just the interface ?

I tried to execute following named query


calling my oracle hash function in where clause , but this doesn't work. What are the limitations of JPQL ?
Callers are different web modules. This is the reason to reorganize the code.
I have two Java SE projects , which makes some calculations and JDBC stuff and I'm wondering whether to "convert" them to EJB modules or use like class libraries. The reason why thinking about EJB is because of clear business logic and that they could become services.

1. Could I just make them stateless beans?
2. What are pros and cons and am I missing something?
No, i don't need to pass parameters, just to call the function. Pages are from same domain , but can't use popup ... first page is already in popup.
I have a link in one page and want after click to be redirected to other one and call javascript function from the second page. How to do this?
I've tried with setTimeout() but doesn't work for/because of me.



Thanks in advance!
I run an application on Glassfish v2 server, the locale of domain is en_US. From a servlet i'm printing table with formated(DecimalFormat) numbers. When I browse the page everything is OK, but when i download the page as excel xls (no frameworks, just changing mime), the numbers become DATES !?!?!?. The locale of my PC is different.

On Tomcat 6 there isn't such problem!

Any help or hint.
Thanks a lot.


crosspost here:
15 years ago
That was pretty comprehensive response. Thanks a lot. I've always thought that there is such "workarounds" in situation like this, but probably my googling is not the best.
15 years ago
Yes the post is relevant,but i'm still digging for tricky solution, maybe some Glassfish settings(that saves to disk the cached response).
Thanks a lot for this hint!
15 years ago
I wanna see how one method is working in a JSP, but how to compile it? In Tomcat there is working directory, so can view compiled JSPs, but the Project is Java Enterprise, so need to run in Glassfish. But where to find JPSs and generated responses in Glassfish?
15 years ago
I meant to prevent some component(or part of it- like menu entry, or number of table columns) from displaying. I think JGuard will do the job.
15 years ago
Thanks for hints. I'll check the opportunities, but I'm wondering if build application from "0", can I construct the application, so not only one or two pages check for user's permissions, but whole framework supports that? For instance all jsp (whatever) tags allow that.
In short what to use for web users management, in the meaning of visualization?

example


15 years ago
Is there a framework that can use for adding permissions to web application? For instance users of given group to see one menu and guests other menu entries?
15 years ago
I'm with 1.6, but project has been compiled with JDK 1.4 .
Thanks Ernest Friedman-Hill !!!
A lesson for me - from now on, all JDKs installed or just to look in the last line in javadoc .
15 years ago