Is EJB my best solution?
Hi everybody!
I'm not new to Java, but new on Beans and related stuffs.
I want to ask you what could be the best solution of my problem.
I have to write a client-server program (not web), the server have to access the database (MySQL).
With PHP I knew Propel (a Torque port), so I decided to use Torque as object model and RMI for communications, but reading about EJB, I found that maybe there is other (maybe better) solutions.
The problem is that I want to use the object model with the server, and send objects to the client that can visualize and elaborate them.
What could be the best solution?
I found that Torque can generate Beans, could that Beans be used remotely or are they different from EJB?
Thanks for you help and sorry for my English.
RCarter
What could be the best solution?
Ans: You can use EJBs and pass and get Beans as IN/OUT parameters as long as they are Serializable.
I found that Torque can generate Beans, could that Beans be used remotely or are they different from EJB?
Ans: EJBs are not regular Java Beans. They are specific to EJB standards and have to be configured in a certain fashion. Their lifecycle implementation is a bit Vendor specific. EJBs require EJB container and J2EE server for its operation.
The decision is yours based on the application and requirement you are trying to model. If the application will expand and you need a proper scalable environment I would suggest EJBs. If the appln is small sized then you can use whatever you are currently designing.
Thanks and regards,
Pazhanikanthan. P
Similar Messages
-
Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy. It is a Macbook Pro osx 10.6.8 (late 2010).
Almost certainly none of the above! Try each of the following in this order:
Select 'Reset Safari' from the Safari menu.
Close down Safari; move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false -
I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library. The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me?? Please?
I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library. The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me?? Please?
-
My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?
You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
Re 1) you need to answer Kappy's questions.
Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
Do you not have a backup of the photo files? -
Help Me.
What is the best solution for this problem ?Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
-and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
-plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html -
After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes normally in the future & get the CD/DVD drive working again? if I delete the upper / lower registry keys what other functions are impacted? I see others say itunes asks for a reinstall...then same problem all over again! THX
Have you revieved this support document?
TS2308: iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install.
tt2 -
SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database
Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
Current Setup
SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
Configured to use AlwaysOn Availability groups for HA and DR.
Installed on Windows 2012 Servers.
This is all working and failover works fine and no issues. So…
Requirement
A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
Solution - What I believe are available to me
I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
Any help on the best solution for this would be greatly appreciated.
Thanks, Stevefor always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above). you can only do read only.
IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
Hope it Helps!! -
What is teh best solution for my Problem??
hello everyone
i'am planing to develop a Patient Management System (PMS)
since i 'm not that guru in the J technologies i would like you to get me some help with this decision:
what is the best solution for developeing an intranet "PMS" which should handles data (connection to postgresql) and runs some algorithm (for planing puropose) im background ??
1 developeing a web based solution (servlet and jsp and and ..)
2 developeing an application wich will be manging everything ??? (a kind of programm with its own GUI)
3 you may have an other idea solution and ill be gald for any advices
ps sorry for my english its not that great ;)Web applications are all the rage these days and IMO rightly so as they greatly reduce deployment cost and headaches.
They do have some drawbacks though which for you might be important.
I can imagine that sooner or later (probably sooner in my experience) a requirement to interface with hardware installed on the client machines will emerge.
Whether this is a barcode scanner or a chipcard reader to get client information from some form of card issued to the client, or maybe a label printer to print out labels for medication bottles doesn't matter, you need to access the client machine directly.
Web applications have great difficulty with that (in fact, it's all but impossible).
You could go for an applet solution but that's contrived at best and still leaves the same problems.
So in your situation an old-fashioned client/server application (maybe using web services to communicate with the serverside application) is likely the best longterm solution.
You'd have the database remote so everyone has access to the same data, being accessed through processes run on the server and called by the clients. These can also do most of the business logic, leaving the clients relatively dumb responsible mainly for data validation and entry and presentation of the results. -
Hello,
At present my SharePoint farm is having following domains:
1) Internal Domain - Domain1
2) External Trusted Domain - Domain2
And Following Intranet WebApplications having Windows Mode Authentication:
1) http://mywebapp1.Domain1.com - Single site collection
2) http://mywebapp2.Domain1.com - Multiple site collections
3) http://mywebapp3.Domain1.com - Multiple site collections
Both Domain1 and Domain2 users are able to access above web applications.
Now , we have requirement to add other trusted domains Domain3 , Domain4...etc. and create Extranet Application and I have following questions :
What kind of topology and Authentication is required ?
AD as User Identity storage location is better way for all other domains since there is trust ?
Do I need to just extend all the web applications in extra net zone and create site collection for different domains to isolate security and content as per the need ?
Is there any other best solution to implement extranet application under current environment ?
what kind of other factors are important to consider in order to create extranet application ?
Your help will be highly appreciated.
Thanks and Kind Regards,
Dipti ChhatrapatiHi Tom,
I have following information till now:
External domain will be trusted with parent domain where SharePoint is installed.
Authentication of external domain will be Windows Authentication.
User Identity storage location will be Active Directory of external domain.
Site to be accessed by external domain will be http://mywebapp1.Domain1.com
Now question is :
Should I assign external AD group ( Domain2ADGroups ) to SP Web Application http://mywebapp1.Domain1.com
OR
Should I extend the application in extranet zone for external domain and then assign permission to extended
application ?
I guess , if authentication is same then no need to extend the application - correct ?
Thank you to look at this thread !
Dipti Chhatrapati -
What is the best solution to this problem?
I have so many solutions in mind right now but i am looking for the best solution if possible. i have the following query
SELECT one_query.date_required as Month_id,
nvl(one_query.amount_used, 0) as overalluserhours_A,
nvl(second_query.amount_used_b, 0) as overalluserhours_B,
nvl((trunc(((second_query.amount_used_b/one_query.amount_used) * 100), 2)), 0) as p_change
from
(select to_char(b1.needed_date,'YYYY-MM') as date_required,
SUM(b1.amount_used) as amount_used,
b1.type_id as type_id
from table_one b1
where b1.zone_type like 'NEWYORK%'
and b1.type_id = 'CARS'
and trunc(b1.needed_date) between to_date('2009-01-01', 'YYYY-MM-DD') and to_date('2009-12-31', 'YYYY-MM-DD')
group by to_char(b1.needed_date,'YYYY-MM'), b1.type_id) one_query,
(select to_char(b2.needed_date, 'YYYY-MM') as date_required,
SUM(b2.amount_used) as amount_used_b,
b2.type_id as type_id
from table_one b2
where b2.zone_type like
'CHICAGO%'
and b2.type_id = 'BIKES'
and trunc(b2.needed_date) between to_date('2009-01-01', 'YYYY-MM-DD') and to_date('2009-12-31', 'YYYY-MM-DD')
group by to_char(b2.needed_date, 'YYYY-MM'), b2.type_id)second_query
where one_query.date_required = second_query.date_required(+);the above query is being used on table_one. The current problem I am having is based on the fact that table_one might sometimes contain data for only chicago and not for newyork. in this case, table_one would look like this
identification_id needed_date zone_type type_id
2 3/22/2006 12:00:00 CHICAGO BIKES
3 2/12/2006 12:00:00 CHICAGO BIKEShowever though, in other case, it could be the other way around. in this case, table_one will look like this
identification_id needed_date zone_type type_id
4 4/21/2007 12:00:00 NEWYORK CARS
5 1/12/2007 12:00:00 NEWYORK CARS
and finally table_one could contain information for both cases. hence, we could have the following situation
identification_id needed_date zone_type type_id
6 6/21/2008 12:00:00 NEWYORK BIKES
7 8/12/2008 12:00:00 CHICAGO CARSKindly note, my above query is currently being used inside a function. I know I can write so many if statement to handle but the main issue is regarding the fact, i am also using that query in another query which performs so many union all.I'm not sure how you're going to parameterize it, how those filters change from call to call, but an idea would be something like this:
select date_required month_id,
max(amt_used_chicago_bikes) overalluserhours_A,
max(amt_used_newyork_cars) overalluserhours_B,
(max(amt_used_chicago_bikes) / max(amt_used_newyork_cars)) * 100 p_change
from (select zone_type,
to_char(b1.needed_date, 'YYYY-MM') as date_required,
b1.type_id as type_id,
SUM(case when zone_type like 'CHICAGO%' and type_id = 'BIKES'
then b1.amount_used end) as amt_used_chicago_bikes,
SUM(case when zone_type like 'NEWYORK%' and type_id = 'CARS'
then b1.amount_used end) as amt_used_newyork_cars
from table_one b1
where trunc(b1.needed_date) between
to_date('2009-01-01', 'YYYY-MM-DD') and
to_date('2009-12-31', 'YYYY-MM-DD')
group by b1.zone_type,
to_char(b1.needed_date, 'YYYY-MM'),
b1.type_id)
where amt_used_chicago_bikes is not null or amt_used_newyork_cars is not null
group by date_required;Again, this is not the biggest concern regarding performance and certainly not the best way of doing it. Cracking those 250 lines of SQL and making it optimized would probably be the best way to approach the issue here. -
hi,
wat is the best solution if I get an error some dll file is missing , is that SFC utility to run or sytem restore or some other solution?
thanks
johan
h.davidthen it's fine to perform a system restore, but it will revert some changes you have made on your system.
and detailed infoemation would be helpful.
Regards
Yolanda
TechNet Community Support
Most error messages relating to missing .dll files are due to virus scanners. The scanner removes the threat (the .dll file) but leaves the program behind that tries to invoke the .dll file. Your recipe of using System Restore to fix the problem could well
backfire: It might restore the infected .dll file! This is why it is important to know the full wording of the error message. If the missing file resided in the System32 folder then it's probably OK to restore it. If it resided elsewhere then restoration would
probably be a bad idea. -
Embedding Fonts into a PDF file - Best Solution/s
Good day
What is the best solution or solutions to Embedding Fonts into a PDF file?
Kind RegardsAmplifing on what Test Screen Name posted.
--| Use a Distiller Job Option that embeds fonts.
--| Use Acrobat Pro's (starting with 9.x) Preflight that embeds fonts (if they are present and installed on the local machine).
--| Untick "Rely on system fonts only; do not use document fonts" in the Adobe PDF Document Properties dialog.
Be well... -
Adobe Acrobat the Best Solution?
I've never used Adobe Acrobat for anything other than reading PDF files and new to Macs.
I have a training records for work that I want to go from filling out every week in a binder to the computer. I want to either scan the current form into my MBP (I have a HP 2410 PSC but can't scan through the Airport) and set it up so I can fill out the form every week and save them on he hard drive.
OR I can create a whole new document but again I need to be able to have fields that I can just fill in every week.
With the finished product I would like to be able to fill out the form but not be able to change the form itself. (I hope this makes sense)
Would Acrobat be the best product to use to create this or is there another better product out there for the Mac?Numbers and Excel are spreadsheet programs, not database programs. Depending on how simple your needs are, however, either may provide a solution.
There is also Bento, a very inexpensive database program from Filemaker. There is a free demo, and this may prove a good solution.
If you already have Adobe Acrobat, it does offer forms functions and would save you from having to but additional software. I have never used the forms functions for actual production (just played around with it). However, you can set up a form, have check boxes, radio buttons, text fields, etc. and then have the entered results saved and/or output for further manipulation.
Acrobat might prove the best solution for what you are trying to do. -
Pop Up Window - Dynamic Page - Need Best Solution
I'd like to create a pop-up window for my site. I've used behaviors in the past. I'm not sure if that's the best way now. Basiclly I have a photo gallery with thumbnails. Once you click the thumbnail I want a larger window to open with the image. I've seen the javascript windows used that use CSS lightbox, however I can't get it to work with my site. I guess I should mention I'm using:
ASP vbscript
SQL Database
Unit is set for repeating regions
Help me find the best solution to carry out this task. Thanks in advance.At this time I can't post the page. This is what I'm using:
http://www.lokeshdhakar.com/projects/lightbox2/
Using asp vbscript ,ms sql database with a link to the image paths that are sitting in the images folder.
This is really all I can show you. Hopefully you can make heads of tails out of it. Thanks for answering my post!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="Connections/conn_ssfGallery.asp" -->
<%
Dim rs_ssfGallery
Dim rs_ssfGallery_cmd
Dim rs_ssfGallery_numRows
Set rs_ssfGallery_cmd = Server.CreateObject ("ADODB.Command")
rs_ssfGallery_cmd.ActiveConnection = MM_conn_ssfGallery_STRING
rs_ssfGallery_cmd.CommandText = "SELECT * FROM dbo.tbl_pictures ORDER BY picture_ID ASC"
rs_ssfGallery_cmd.Prepared = true
Set rs_ssfGallery = rs_ssfGallery_cmd.Execute
rs_ssfGallery_numRows = 0
%>
<%
Dim HLooper1__numRows
HLooper1__numRows = 25
Dim HLooper1__index
HLooper1__index = 0
rs_ssfGallery_numRows = rs_ssfGallery_numRows + HLooper1__numRows
%>
<%
' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim rs_ssfGallery_total
Dim rs_ssfGallery_first
Dim rs_ssfGallery_last
' set the record count
rs_ssfGallery_total = rs_ssfGallery.RecordCount
' set the number of rows displayed on this page
If (rs_ssfGallery_numRows < 0) Then
rs_ssfGallery_numRows = rs_ssfGallery_total
Elseif (rs_ssfGallery_numRows = 0) Then
rs_ssfGallery_numRows = 1
End If
' set the first and last displayed record
rs_ssfGallery_first = 1
rs_ssfGallery_last = rs_ssfGallery_first + rs_ssfGallery_numRows - 1
' if we have the correct record count, check the other stats
If (rs_ssfGallery_total <> -1) Then
If (rs_ssfGallery_first > rs_ssfGallery_total) Then
rs_ssfGallery_first = rs_ssfGallery_total
End If
If (rs_ssfGallery_last > rs_ssfGallery_total) Then
rs_ssfGallery_last = rs_ssfGallery_total
End If
If (rs_ssfGallery_numRows > rs_ssfGallery_total) Then
rs_ssfGallery_numRows = rs_ssfGallery_total
End If
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Move To Record and Go To Record: declare variables
Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined
Dim MM_param
Dim MM_index
Set MM_rs = rs_ssfGallery
MM_rsCount = rs_ssfGallery_total
MM_size = rs_ssfGallery_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
' use index parameter if defined, otherwise use offset parameter
MM_param = Request.QueryString("index")
If (MM_param = "") Then
MM_param = Request.QueryString("offset")
End If
If (MM_param <> "") Then
MM_offset = Int(MM_param)
End If
' if we have a record count, check if we are past the end of the recordset
If (MM_rsCount <> -1) Then
If (MM_offset >= MM_rsCount Or MM_offset = -1) Then ' past end or move last
If ((MM_rsCount Mod MM_size) > 0) Then ' last page not a full repeat region
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' move the cursor to the selected record
MM_index = 0
While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
If (MM_rs.EOF) Then
MM_offset = MM_index ' set MM_offset to the last possible record
End If
End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range
If (MM_rsCount = -1) Then
' walk to the end of the display range for this page
MM_index = MM_offset
While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
' if we walked off the end of the recordset, set MM_rsCount and MM_size
If (MM_rs.EOF) Then
MM_rsCount = MM_index
If (MM_size < 0 Or MM_size > MM_rsCount) Then
MM_size = MM_rsCount
End If
End If
' if we walked off the end, set the offset based on page size
If (MM_rs.EOF And Not MM_paramIsDefined) Then
If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
If ((MM_rsCount Mod MM_size) > 0) Then
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' reset the cursor to the beginning
If (MM_rs.CursorType > 0) Then
MM_rs.MoveFirst
Else
MM_rs.Requery
End If
' move the cursor to the selected record
MM_index = 0
While (Not MM_rs.EOF And MM_index < MM_offset)
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
End If
%>
<%
' *** Move To Record: update recordset stats
' set the first and last displayed record
rs_ssfGallery_first = MM_offset + 1
rs_ssfGallery_last = MM_offset + MM_size
If (MM_rsCount <> -1) Then
If (rs_ssfGallery_first > MM_rsCount) Then
rs_ssfGallery_first = MM_rsCount
End If
If (rs_ssfGallery_last > MM_rsCount) Then
rs_ssfGallery_last = MM_rsCount
End If
End If
' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links
Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev
Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam
MM_keepMove = MM_keepBoth
MM_moveParam = "index"
' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
MM_moveParam = "offset"
If (MM_keepMove <> "") Then
MM_paramList = Split(MM_keepMove, "&")
MM_keepMove = ""
For MM_paramIndex = 0 To UBound(MM_paramList)
MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
End If
Next
If (MM_keepMove <> "") Then
MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
End If
End If
End If
' set the strings for the move to links
If (MM_keepMove <> "") Then
MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If
MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
MM_moveFirst = MM_urlStr & "0"
MM_moveLast = MM_urlStr & "-1"
MM_moveNext = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
MM_movePrev = MM_urlStr & "0"
Else
MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Southern Store Fixtures Inc.</title>
<link href="CSS/global.css" rel="stylesheet" type="text/css" />
<link href="CSS/layout.css" rel="stylesheet" type="text/css" />
<link href="CSS/details.css" rel="stylesheet" type="text/css" />
<!--beginning of lightbox script -->
<link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
<script src="Scripts/protype.js" type="text/javascript"></script>
<script src="Scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="Scripts/lightbox.js" type="text/javascript"></script>
<!--end of lightbox script -->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
position:absolute;
left:1226px;
top:643px;
width:284px;
height:251px;
z-index:1;
a:link {
color: #CCC;
text-decoration: none;
a:hover {
color: #5FABFF;
text-decoration: none;
a:visited {
text-decoration: none;
a:active {
text-decoration: none;
</style>
<link href="CSS/gallery.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--begining of wrapper div -->
<div id="wrapper">
<!---begining of header--->
<div id="header"><img src="SSFLogo.png" width="298" height="96" alt="SSFlogo" /></div>
<!---end of header--->
<div id="banner"><img src="blueHeader_2.png" width="950" height="133" alt="header" /></div>
<!---begining main nav--->
<div id="mainNav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.asp">Home</a> </li>
<li><a href="#" class="MenuBarItemSubmenu">Company Info</a>
<ul>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Jobs/Career</a></li>
<li><a href="#">Information Request</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Gallery</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Store Pictures</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Products</a>
<ul>
<li><a href="#">Self Serve</a></li>
<li><a href="#">Serve</a></li>
<li><a href="#">Multi Decks</a></li>
<li><a href="#">Combinations</a></li>
<li><a href="#">Food Service</a></li>
<li><a href="#">Islands</a></li>
<li><a href="#">Produce</a></li>
<li><a href="#">Floral</a></li>
<li><a href="#">Hot Foods</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">News/Events</a>
<ul>
<li><a href="#">Inside Look</a></li>
<li><a href="#">Happenings</a></li>
<li><a href="#">Trade Show Schedule</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Contact</a>
<ul>
<li><a href="#">Customer Service</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Buiss. Portal</a>
<ul>
<li><a href="#">Login</a></li>
</ul>
</li>
</ul>
</div>
<!---end main nav--->
<!---begining subBanner--->
<div id="subBanner"><img src="secBanner.png" width="950" height="156" alt="secBanner" /></div>
<!---end subBanner--->
<!---begining contenMain--->
<div id="contentMain">
<!--beginning of gallery div -->
<div id="gallery">
<p>
<!--beginning of galleryImage div -->
</p>
<table width="400" border="0" align="center" id="galleryNav2">
<tr>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">First</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">Previous</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">Next</a>
<% End If ' end Not MM_atTotal %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">Last</a>
<% End If ' end Not MM_atTotal %></td>
</tr>
</table>
<p> </p>
<table align="center" id="HorzLooper">
<%
startrw = 0
endrw = HLooper1__index
numberColumns = 5
numrows = 5
while((numrows <> 0) AND (Not rs_ssfGallery.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<tr align="center" valign="top">
<%
While ((startrw <= endrw) AND (Not rs_ssfGallery.EOF))
%>
<td><div id="galleryImage">
<div id="galleryThumb"><a href="images/pic/<%=(rs_ssfGallery.Fields.Item("picture_url").Value)%> rel="lightbox"><img src="images/thumb/<%=(rs_ssfGallery.Fields.Item("thumb_url").Value)%>" alt="<%=(rs_ssfGallery.Fields.Item("alt_url").Value)%>" /></a></div>
<div id="galleryImageID"><%=(rs_ssfGallery.Fields.Item("picture_ID").Value)%></div>
<div id="galleryImageFamily"><%=(rs_ssfGallery.Fields.Item("family").Value)%></div>
</div></td>
<%
startrw = startrw + 1
rs_ssfGallery.MoveNext()
Wend
%>
</tr>
<%
numrows=numrows-1
Wend
%>
</table>
<p> </p>
<table width="400" border="0" align="center" id="galleryNav">
<tr>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">First</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">Previous</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">Next</a>
<% End If ' end Not MM_atTotal %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">Last</a>
<% End If ' end Not MM_atTotal %></td>
</tr>
</table>
<!--end of galleryImage div -->
</div>
<!--end of gallery div -->
</div>
<!---end of contentMain--->
<!---begining of contentSec--->
<div id="contentSec">
<div id="column1"></div>
<div id="column2"></div>
<div id="column3"></div>
</div>
<!---end of contentSec--->
<!---begining of secNav--->
<div id="secNav">
<div id="column1">
<p align="center">Supermarket </p>
<p align="center">C-Store </p>
<p align="center">Small Format </p>
<p align="center"> Food Service </p>
<p align="center"> Gourmet </p>
<p align="center"> Restaurant</p>
</div>
<div id="column2">
<p align="center">Produce </p>
<p align="center">Prepared Foods</p>
<p align="center">Deli </p>
<p align="center"> Meat </p>
<p align="center">Seafood </p>
<p align="center">Cheese </p>
<p align="center">Bakery </p>
<p align="center">Floral </p>
<p align="center">Sushi </p>
<p align="center"> </p>
</div>
<div id="column3">
<p align="center">Soup </p>
<p align="center"> Chocolate </p>
<p align="center">Food Bars </p>
<p align="center">Low Temp </p>
<p align="center">Gelato </p>
<p align="center"> Hot Cases </p>
<p align="center"> Pizza/Sandwich </p>
<p align="center"> Multi-Decks </p>
<p align="center"> Islands</p>
<p> </p>
</div>
<div id="column4">
<p>Trade Shows</p>
<p>About</p>
<p>Info</p>
<p>Privacy</p>
<p>Content</p>
<p>Service</p>
<p>Parts</p>
<p>Login</p>
</div>
</div>
<!---end of secNav--->
<!---begining of footer--->
<div id="footer">Southern Store Fixtures 2010 Inc.| All Rights Reserved</div>
<!---end of footer--->
</div>
<!--end of wrapper div -->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
<%
rs_ssfGallery.Close()
Set rs_ssfGallery = Nothing
%> -
[Sales/Shipment report] - What's the best solution?
Hello everybody.
I have to develop a report with some sales data, delivery service data and shipment costs data.
I have the cubes: 0SD_C03, 0SD_C04, 0LES_C02.. and I thought to do a multicube, but I don't no how to link these cubes...
I don't have, for example, Sales Document/Item and/or Delivery Document/Item in all os these cubes...
What is the best solution to this sittuation?
I thought in some solutions like...
1 - Extend extractor of 0LES_C02 to include Sales Doc/Item, but I don't know if all delivery doc is related to a sales doc.
2 - I know I have all the fields that I want in the tables VBAP and LIPS...so I thought in create an generic extractor with a view of these two tables, and than creat a Z cube, to receive these datas...
I really don't know whats the best solution, or if there is abother solution to this....
I'll apreciate ideas, or a solution from someone that already face with this and developed a solution.
Best Regards,
ThiagoHi,
Its better for you to add sales order,item in the cubes also from the source where your cube gets data ie from DSO as they are only point through which you can combine sales,delivery and billing data.
Thanks,
Arun
Maybe you are looking for
-
What's cyclic dev in Solaris 10? how to install it?
I install java Real-Time System in my solaris 10 and use commend to verify evn, get some error messages. # java -version Could not open /dev/cyclic (No such file or directory). Please check that the cyclic device driver is correctly installed on your
-
What exactly does the Work Offline option do in a shared review hosted on an internal server?
Hi, What exactly does the Work Offline option do in a shared review hosted on an internal server? I *think* it simply disconnects you from the review server. I'm not sure why one would want to do this. I'm trying to recommend an offline workflow for
-
Looking for example of seurity domains
I'm looking for examples of code for implementing issuer security domains as well as application providor domains. Having read the GP documentation it seems rather strait forward, but I would like still like an example if anyone knows of any. In part
-
Hey All, As part of an infrastructure/gateway upgrade, I've been asked to load test using multiple proxy authentications. That is, different usernames that will require Active Directory authentication from/by the proxy before being allowed/denied the
-
Dynamic proxy for subclassing given classes
Is or will it be possible in future to generate a dynamic proxy as subclass of a given class in addition of implementing a set of interfaces? The reason why I am asking: Currently it is not possible to define a subclass of a generic type. With that,