Engin Okucu

Ranch Hand
+ Follow
since Feb 09, 2002
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Engin Okucu

Hi Alex,

Even @Local is sufficient as long as the EJB and the client are in the same JVM. @Remote is used when you deploy separately.
What do you think ?
Hello Das,

Can you post you code ? easier to help you.
Hi Raj Kumar,

Please have a look at this , sure it will help : http://www.soyatec.com/euml2/documentation/com.soyatec.euml2.doc/reverse/reverse/index.html#explicit
There is a free edition that you can download for your Eclipse.

Regards, Engin.

This helps to avoid having many ejbFind calls...i got this pattern but another question comes out....
Example : 100 records to browse & 5 pages displaying 20 records per page (so, the USER1 sees 1-2-3-4-5 links on this page)
The datas having been loaded in cache and the USER1 is browing the datas by making call to the ValueListHandler, right ?
Only one SQL call has been so far as the patterns suggested.
What does happen ?or how does it work if another USER2 add records in the DB.....i mean the datas are 101 records now...how should it be managed with this pattern to show the '6' link on the USER1 screen at the moment when he is browsing ???
Of course i know to do that...when the USER adds records, i can the cache ValueListHandler too and add there too if it does not exist....so the 6 link will be displayed, but my question how is it managed by default in J2EE design pattern ???


Thanks you for reply.
I already tried it. The cursor is still in waiting state after the dialog is viewed.
I click on the submit button to download a file. The cursor is set to waiting state.
When the SAVE - OPEN dialog appears , i want to set it to default state.

- I must have a JTREE in my JSP or Servlet. I used MyFaces. Is it good ? Or is there other projects ? We don't want to use applets because we find that it's very slow.
- When i click in a node in the tree i don't want to reload the page to get some properties in the database for this node. I want to get properties
in background and display these properties in a textfield for example.
Is there a way ? a tool for this ?and it must be fast of course for retrieving and displaying my datas.
18 years ago
1) Both are used. There are several applications on 1 server(RESIN).
2) And is resin a good choise ? because there are much requests coming to the server.
18 years ago
We are retrieving datas with writeobject()(URLConnection) in client side:
-> Applet ------------Servlet -------------Database

If i used RMI with EJB rather than HTTP. Should it better for handling requests ?
Wich is the best for performance ?

I ask this question because we are using RESIN, and we see that when clicking in a node in a JTREE it takes times to have some details of this node in the screen.

Thanks for your suggestions.
18 years ago
Hi everybody,

I want to have more information to create a connection between an applet and a servlet. I'm using Resin , Resin works with HTTPS, i configured it with JSSE. I 'm in trouble to know if what i'm doing is correct or not ?
I do my connection in my applet as follow :

URL urlServlet = new URL("https://localhost/project/mainservlet?function=init");
URLConnection servletconnection = null;
if (web_version)
servletconnection = (HttpsURLConnection)urlServlet.openConnection();
servletconnection = urlServlet.openConnection();

Thanks for helping.
19 years ago
I have an exception when i deploy my *.jar in my server, i'm using HTTPS.
If i use HTTP all work fine, how can i resolve this ? and i use 1.4.2_03.
Thanks for helping.


at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.util.ResourceBundle.loadBundle(Unknown Source)

at java.util.ResourceBundle.findBundle(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at Infact.WebAllegro.Time_Sheet.Utils.<init>(Utils.java:61)

at Infact.WebAllegro.Time_Sheet.WebAllegroApplet.<init>(WebAllegroApplet.java:23)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
19 years ago
I have Tomcat running like https://localhost/index.html
but with Jbuilder when i start Tomcat, it works with "http" and not "https"?
must i do something to see my url like https in JBuilder?
Hi Stan,

I would like to thank you very much. Now it works fine.
19 years ago
I have some Objects in my Vector.
I want to sort it by using comparable interface.
It works fine when i sort by "username" but when i want to sort by "username" AND "lastname" AND "date" it doesn't work.
When it's more then 1 criterion i have problems to do it,
can you help me? thanks.
19 years ago