473,569 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What are these beans?

8 New Member
<bean id="sesFactoryW eb" class="org.spri ngframework.orm .hibernate3.Loc alSessionFactor yBean">
<property name="dataSourc e"><ref local="XXXXXX"/></property>
<property name="mappingRe sources">
<list>
<value>Unit.hbm .xml</value>
<value>UnitConv ersion.hbm.xml</value>
<value>UnitClas s.hbm.xml</value>
</list>
</property>
<property name="hibernate Properties">
<props>
<prop key="hibernate. dialect">org.hi bernate.dialect .Oracle9Dialect </prop>
<prop key="hibernate. show_sql">false </prop>
<prop key="hibernate. format_sql">fal se</prop>
<prop key="hibernate. cache.use_query _cache">false</prop>
<prop key="hibernate. cache.provider_ class">org.hibe rnate.cache.EhC acheProvider</prop>
<prop key="hibernate. jdbc.wrap_resul t_sets">true</prop>
</props>
</property>
</bean>

<!-- Spring-based persistence dao implementation -->
<bean id="persistence Dao" class="ca.gc.ec .dmf.persistenc e.PersistenceDa oSpringImpl">
<property name="sessionFa ctory" ref="sesFactory Web" />
</bean>

Can some one tell me what are these beans?
Mar 14 '07 #1
2 1583
r035198x
13,262 MVP
<bean id="sesFactoryW eb" class="org.spri ngframework.orm .hibernate3.Loc alSessionFactor yBean">
<property name="dataSourc e"><ref local="XXXXXX"/></property>
<property name="mappingRe sources">
<list>
<value>Unit.hbm .xml</value>
<value>UnitConv ersion.hbm.xml</value>
<value>UnitClas s.hbm.xml</value>
</list>
</property>
<property name="hibernate Properties">
<props>
<prop key="hibernate. dialect">org.hi bernate.dialect .Oracle9Dialect </prop>
<prop key="hibernate. show_sql">false </prop>
<prop key="hibernate. format_sql">fal se</prop>
<prop key="hibernate. cache.use_query _cache">false</prop>
<prop key="hibernate. cache.provider_ class">org.hibe rnate.cache.EhC acheProvider</prop>
<prop key="hibernate. jdbc.wrap_resul t_sets">true</prop>
</props>
</property>
</bean>

<!-- Spring-based persistence dao implementation -->
<bean id="persistence Dao" class="ca.gc.ec .dmf.persistenc e.PersistenceDa oSpringImpl">
<property name="sessionFa ctory" ref="sesFactory Web" />
</bean>

Can some one tell me what are these beans?
Depends on what they are being used for. You tell us, it's your code so I guess you are supposed to know that more than us.
Mar 15 '07 #2
N002199B
41 New Member
Depends on what they are being used for. You tell us, it's your code so I guess you are supposed to know that more than us.
Look in the J2EE specification. They are an enterprise-wide way of developing java classes that easier to deploy over the web and appServers. They are generic with a similar structure. From the few encounters that I have had with them they are a robust architecture with security, transaction monitoring etc. and have various other advantages.

It's a whole big paradigm (Session, Entity and Message Beans) and I have to agree with 'r0'. We can only assisst if u tell us where u are using them and how they are failing to meet what you want.
Mar 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5783
by: Tushar | last post by:
Hello, I am working on a client server application involving TOMCAT as Web server, MySQl as the DB and combination of JSP, Servlet, and JavaBeans to access and write Data back. There is another piece of the project (out side my scope of development) that writes to the Same MySQL tables and make changes to the data.
3
1832
by: yongbl | last post by:
Hi, I need to do a client-server project that involves TCP/IP and XML. I want to make it a meaningful project. My friends suggested doing a project on Web Service. What kind of web services should I do? Any suggestions? Thanks in advance, Yong
70
8834
by: Roy Yao | last post by:
Does it mean "(sizeof(int))* (p)" or "sizeof( (int)(*p) )" ? According to my analysis, operator sizeof, (type) and * have the same precedence, and they combine from right to left. Then this expression should equal to "sizeof( (int)(*p) )", but the compiler does NOT think so. Why? Can anyone help me? Thanks. Best regards. Roy
13
2295
by: gtux | last post by:
Hi everybody: I'm new in Javascript, I found some code and there is this: var fruit = { 'apple' : { 'weight' : 10, 'cost' : 9}, 'peach' : { 'weight' : 19, 'cost' : 10} }
1
3246
by: maya | last post by:
I started a new job recently for which I need to learn both beans and taglibs (at my last job also did JSP but they didn't use beans or taglibs..) reading up on this in oreilly (JSP, 3rd ed.) I find following beans code: <jsp:useBean.... etc.. but where I work they do stuff like: <bean:define id="showName"> i.e., "bean" here looks...
1
1357
by: shreya | last post by:
i am new to beans in jsp. I used the .class (UserData.class)in new jsp In my jsp i have written <jsp:useBean id="user" class="UserData" scope="session" /> but when i compile it cannot resolve the symbol UserData I think the path is not set How to set the path.I am using Tomcat 5.5 bundled in net beans. Pls help
5
2814
by: mjahabarsadiq | last post by:
Hello Friends, I need to know the way to use beans with jsp. If anybody know please help me.. I would like to have the output of the beans to be returned to the jsp page. Please help me..
4
1876
jeffbroodwar
by: jeffbroodwar | last post by:
Hi Guys, I just want to hear your understanding of Java Beans. I mean it doesn't just expose properties (for parameters) right? Java beans must be able to do what variables can't. i need feedbacks please. Thanks Regards, Jeff
1
1559
by: shivapadma | last post by:
i know javabean is nothing but a class written in java language the business logic is written in javabean but, i want know the advantages and objectives of using javabeans question : suppose,if i am using jsp to write a program i can write business logic in jsp then why to use javabeans in jsp... example:writing business logic in jsp...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7679
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.