Questions tagged [stateless-session]

45 questions
1
vote
2 answers

StatelessSession#connection() deprecated on Hibernate?

I'm cleaning up some warnings, and I came up on some code using the connection() method of StatelessSession, whose deprecation doc says they missed it when deprecation the same method on Session. Now, the answers to this question point to the doWork…
Daniel C. Sobral
  • 295,120
  • 86
  • 501
  • 681
1
vote
1 answer

Python application deployed on Google-App-Engine rarely throws an exception

I have deployed a website on Google-App-Engine with Python. Since GAE does not guarantee "keep-alive", I have implemented a stateless server: Upon every change in internal variables, they are immediately stored into GQL data-base. Whenever the…
barak manos
  • 29,648
  • 10
  • 62
  • 114
1
vote
0 answers

Is there a class similar to stateless session hibernate for JPA?

Is there a class similar to stateless session hibernate for JPA or some way to get the results of a query without the proxies, like the objects are already detached from the Entity Manager?
Fabio Araujo
  • 131
  • 3
  • 7
0
votes
1 answer

Update Child ForeignKey using Nhibernate Stateless Session

I understand that while using the stateless session one must explicitly save an object association (child) If I have the following objects: public class Parent() { public int Id {get;set;} public string Name {get;set;} public…
aattia
  • 613
  • 4
  • 17
0
votes
1 answer

Error while sending JMS(message) with jboss EAP 7

Using Wildfly and JMS via ActiveMQ I got following exception. javax.ejb.EJBTransactionRolledbackException: Producer is closed I have the following stateless bean @Stateless(name =…
IsharaD
  • 322
  • 2
  • 4
  • 17
0
votes
0 answers

How does session value gets sustained in Asp.net MVC even if it is a stateless protocol?

Asp.net MVC uses stateless protocol, if yes then how is the session gets sustained? to explain it in a better manner. I have two methods like this public class HomeController : Controller { // GET: Home public ActionResult Index() { …
Lijin Durairaj
  • 4,910
  • 15
  • 52
  • 85
0
votes
1 answer

Seeking input: maintaining a server session without any server state

I'm not a security expert, so I'm looking for people to poke gaping holes in an authentication scheme I've devised, or point me to a better, existing scheme that fulfills the same goals: Overview of Problem I have an interface in which the client…
Aron
  • 1,552
  • 1
  • 13
  • 34
0
votes
1 answer

share session between two different version of playFrameWork

Currently two services each running different version of play they both share same Secret Key as well as same session domain Play Version 2.2.6: example of cookie Value: b14219d56033ca9aa888a406b31872f5623b892f-myKey=myValue Play Version…
0
votes
1 answer

stateless session api request

I am building a simple app that uses JWT for authentication. But I keeps on getting the error saying the route I GET to require a call back function. What do I expect? I should be getting the current user's data back. What do I actually get? Error:…
leogoesger
  • 3,476
  • 5
  • 33
  • 71
0
votes
1 answer

How to insert entity with value collection using a stateless session?

I have the following (simplified) entity that I need to bulk-insert: public class BookmarkEntity { public virtual Guid Id { get; set; } public virtual ISet Tags { get; set; } } And the Tags property is configured (via…
Patrick Quirk
  • 23,334
  • 2
  • 57
  • 88
0
votes
0 answers

What is the correct way to implement a stateless authentication?

I am new to the Single Page Application. One big question for me is how to make my application secured. I am using React in the front-end and express + mongodb in the back-end. I old web site, we use session to do the authorization. If session is…
Chris
  • 6,431
  • 10
  • 44
  • 59
0
votes
1 answer

Extracting facts/objects from DefaultFactHandle in Drools StatelessKieSession (via Scala)

I've been working with Stateful Sessions (KieSession) so far and have managed to get my project running as desired using Scala with a few Java wrappers. I am now trying to switch over to StatelessKieSessions. Based on the documentation I found, I've…
GroomedGorilla
  • 920
  • 2
  • 10
  • 30
0
votes
2 answers

Injecting Stateful Bean inside Stateless bean

When injecting a stateful session bean inside a stateless session bean using DI, what happens exactly: Did the container inject a new instance of stateful bean for every stateless bean (which exists in a pool), or it is the same instance shared…
0
votes
3 answers

Hibernate Stateless Session best way to handle errors?

i am working with stateless session for batch job in my Play Framework 1.2.4 project. i am inserting and updating rows quite good, but i dont know what to do when an exception occured. Heres my code: try{ …
dreampowder
  • 1,644
  • 3
  • 25
  • 41
-4
votes
1 answer

What Java based technology is used for building Stateless Applications?

One of our applications is going to become more of a Micro-services based architecture with drivers being cloud readiness, responsive, cross channel, embracing APIs, heavy client side architecture, stateless applications, dynamically scalable…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
1 2
3