Kris Melotte

Greenhorn
+ Follow
since Jan 24, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Kris Melotte

Originally posted by Akshay Shrivastava:
Can you explain why you need to do this? I don't see any reason to ever do such a thing!



I did not like the idea either. But I have seen a similar discussion somewhere else but cannot find it anymore. The idea described in that discussion was to have a lightweight stateless session facade as main entry point for all clients and still having the possibility of storing state in an SFSB in the business tier.
I think that for such a scenario I would use both a statefull and stateless session bean facade or rework the architecture towards a SLSB-only approach.

Kris

Originally posted by D. Rose:
Hi ,

Can I have a stateful session bean behind Stateless session facade?
I think as long as I do not need to maintain state across my methods, it should be OK.



Is it really an alternative to have a SFSB behind a SLSB? How do you transfer the reference of the SFSB to the client? I think that in this scenario the SFSB must have a remote interface as you cannot pass a local reference to the client.

Any comments?

Kris
[ February 21, 2006: Message edited by: Kris Melotte ]
There is no special url to do the logout.
There is however an alternative and that is by invalidation the http session (HttpSession.invalidate()). This will force the application server in invalidating the server managed jaas subject.

Kris
Hello,

Has someone used a POJO/ORM model with a remote session facade and successfully passed the assignment? Does Sun still expect you to use entity beans 2.0 as they are migrating to a more POJO-like model with EJB3?

Regards,
Kris
I think the statement is true.
When you have a mainframe which does not support modern technology like tcp. You can only access it via a terminal via a cable on COM port. In that case you can install a desktop next to the mainframe which communicates via the COM port to the mainframe using the proprietary protocol. The desktop can be accessed using tcp, so it will act as some kind of proxy between your screen scraping application and the mainframe.
Hello,

I'm just starting on the assignment, but I'm confused about the form of sequence diagrams. You cannot show every scenario in one sequence diagram but I suppose you need at least the alternative flows. Is it required to model the alternative flows as well?

What version of UML is used today by most people as there are some nice provisions in UML 2.0 to show alternative flows and loops in 1 diagram?

Are people using UML 1.4, delivering multiple diagrams for one usecase to show the alternative flows?

Regards,
Kris
Does somebody know if it is allowed to do a response.sendRedirect() with an absolute url when you are using a load balancer? Will the load balancer rewrite this http response with the address of the load balancer?
Kris
21 years ago
This would mean that the application servers are the producers of messages and that a separate application on one server acts as the consumer. How do you see that consumer application? Just a simple standalone program that is started when the computer is booted with a forever loop in the main method?
Best regards,
22 years ago
We are using a singleton that starts a thread when the application initializes. The thread consumes records from a database table and calls a webservice for each record. What is the best way to migrate this scenario to multiple application servers and thus multiple virtual machines. The web service should be only called once for each record in the database.
Best regards.
22 years ago
Hi, we upgraded to a new Solaris machine with 4 processors. With the same load on the site the cpu avg idle time is more than 60%.
We are using Jrun as our application server. How much memory should we allocate with the -Xms and -Xmx parameters?
And also: how many threads should jrun use? we can set a minimum and maximum thread pool size. We have increased the max from 150 to 300.
Is there any documentation on best practices for setting these numbers?
kris
22 years ago
Hello,
We are running a website on a solaris 8 sparc machine with 2 processors. We are using 32bit JDK 1.4 and JRun 3.0. As traffic increases on the site we noticed that cpu idle time is low during peak hours. How can we now if adding a processor will help? (versus rewriting parts of our application such that it will be more performant)
We already increased the memory for the JVM to 700MB.
Is there any good documentation around on the net about the allowed JVM params for Solaris. I also heard about different threading models but I did not find any good documentation about this.
Would it be better to use the 64bit JDK which is also available?
Thanks and best regards,
Kris
23 years ago
If I understand correctly your database schema's are almost identical. You have tools that do that kind of synchronization (even between different database providers.
I know of one (commercial) tool at http://www.creasoft.com . Perhaps there are also open source implementations on the market but I've never seen them.
23 years ago
I found the WASP server from Systinet at http://www.theserverside.com/resources/articles/Systinet-web-services-part-1/article.html easier in use than the Apache frameworks.
23 years ago
Hello,
We are planning to do a web services project between a java application server and a Microsoft .NET application. Both applications will call each other services.
Does anybody have some good guidelines/best practices for creating web services?
Are there any special things to keep in mind for the interopability? I found already some good info at http://www.theserverside.com/resources/articles/Systinet-web-services-part-5/article.html
e.g should you create one service with many methods or is it better to have multiple services with few methods?
Thanks,
Kris
23 years ago
We are still thinking about wether we choose for the message based approach or the RPC approach. The other company wants prefers to use web services, they already use it in their synchronization chain.
If we go for web services, what API should we use? Apache-Soap or Axis?
23 years ago