473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Session Bean (jsp) are there any similar thing in ASP.net

Dear All,

Are there any similar thing in ASP.net like Session Bean in JSP?
\

Regards,
Angus
Nov 18 '05 #1
3 1445
Do you mean session object , generally concept of sessions? Such certainly
is in ASP.NET.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"angus" <an***@angus.com> wrote in message
news:Op**************@TK2MSFTNGP11.phx.gbl...
Dear All,

Are there any similar thing in ASP.net like Session Bean in JSP?
\

Regards,
Angus

Nov 18 '05 #2
Hi,

Yes. it basically class inherits from servicedComponent.

for more iNfo :
http://www.c-sharpcorner.com/Code/20...EEtoDotNet.asp

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
Hi Teemu Keiski,
Do you mean session object , generally concept of sessions? Such certainly
is in ASP.NET.


e.g.

-----------
test.jsp
-----------

<%@ page language="Java" contentType="text/html; charset=UTF-8" %>
<jsp:useBean id="unit" scope="session" class="com.test.unit.bean.Unit" />

<% System.out(unit.unit_id)%>

------------------------------
com.test.unit.bean.Unit
------------------------------

package com.test.unit.bean;

public class Unit implements java.io.Serializable {
public String unit_id = "";
}

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jose Munoz | last post by:
Hi all, I want to share some data for all my applications (servlets and jsps). For this i am using a JSP to set the variables with scope=application. When i get this data from some JSP all is o.k,...
3
by: Miles Davenport | last post by:
I have the following code (please see base of email) which displays text from a properties file ok. I have changed the properties file so the contents are different, but cannot get the new...
0
by: Borek | last post by:
In my project I have to access in one business method of session bean usually more then 10 CMP Beans. I would like to have some utils classes, which could get me right instance of CMP or create...
0
by: Alfredo | last post by:
Hello everybody I have a problem as a newbie in using beans and I hope someone out there can help me with this. I have a jsp-page that use BeanClass. Somewhere in the jsp code there is the...
0
by: rpp | last post by:
Hi! I have a class in my project Bean.cs In Global.asax i wrote <object id="bean" runat="server" scope="Session" class="Panels.Bean"/> I have a page Main.aspx There I can write...
6
by: Marcus | last post by:
I have an ASP.Net 2.0 app that needs to jump out onto another web server running a java server page website (Apache TomCat 4.1.12) that I control. I hate that it needs to do this, but we are using...
0
by: krishna81m | last post by:
Could some one please explain why the session is not being maintained when I am doing a forward in a servlet after setting a cookie. I am even unable to set session attributes or parameters and...
0
by: jaisi | last post by:
What iam exactly trying to do is..saving the resultset in a bean.....and calling the bean in a servlet and forwarding it to jsp by setting the bean in the request scope; Now i have only one record...
1
by: sumantabardhan | last post by:
public class area { int id; public void setId(int id) { this.id=id; } public String...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.